/* roulang page: index */
:root {
      --color-primary: #2563eb;
      --color-primary-dark: #1d4ed8;
      --color-primary-soft: #eff6ff;
      --color-accent: #22c55e;
      --color-warm: #f59e0b;
      --color-bg: #f7faff;
      --color-surface: #ffffff;
      --color-surface-2: #f9fbff;
      --color-text: #0f172a;
      --color-muted: #64748b;
      --color-light: #94a3b8;
      --color-border: #dbe7f7;
      --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
      --shadow-md: 0 18px 45px rgba(37, 99, 235, 0.12);
      --shadow-lg: 0 26px 70px rgba(15, 23, 42, 0.16);
      --radius-sm: 14px;
      --radius-md: 22px;
      --radius-lg: 32px;
      --radius-xl: 42px;
      --container: 1180px;
      --ease: 180ms ease;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      text-size-adjust: 100%;
    }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
      color: var(--color-text);
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(34, 197, 94, .10), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--color-bg) 44%, #ffffff 100%);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color var(--ease), background-color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
    }

    img, svg {
      max-width: 100%;
      display: block;
    }

    button, input, textarea, select {
      font: inherit;
    }

    button {
      border: 0;
      cursor: pointer;
    }

    ::selection {
      background: rgba(37, 99, 235, .16);
      color: #0f172a;
    }

    :focus-visible {
      outline: 3px solid rgba(37, 99, 235, .28);
      outline-offset: 3px;
      border-radius: 12px;
    }

    .site-shell {
      min-height: 100vh;
    }

    .container-custom {
      width: min(var(--container), calc(100% - 40px));
      margin-inline: auto;
    }

    .glass-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .82);
      backdrop-filter: saturate(180%) blur(18px);
      border-bottom: 1px solid rgba(219, 231, 247, .82);
      box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 16px;
      background: linear-gradient(135deg, #2563eb 0%, #60a5fa 60%, #22c55e 100%);
      box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      letter-spacing: -0.05em;
    }

    .nav-tile {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border: 1px solid rgba(219, 231, 247, .9);
      border-radius: 18px;
      background: rgba(255, 255, 255, .74);
      color: #334155;
      box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
      white-space: nowrap;
    }

    .nav-tile:hover {
      transform: translateY(-1px);
      border-color: rgba(37, 99, 235, .32);
      color: var(--color-primary);
      box-shadow: 0 14px 26px rgba(37, 99, 235, .10);
    }

    .nav-tile.active {
      color: var(--color-primary);
      background: var(--color-primary-soft);
      border-color: rgba(37, 99, 235, .28);
    }

    .nav-icon {
      width: 28px;
      height: 28px;
      border-radius: 11px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12);
    }

    .search-box {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 9px 12px;
      border-radius: 999px;
      border: 1px solid rgba(219, 231, 247, .92);
      background: rgba(255, 255, 255, .78);
      color: var(--color-muted);
      min-width: 230px;
    }

    .search-box input {
      width: 100%;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--color-text);
      font-size: 14px;
    }

    .mobile-menu {
      display: none;
    }

    .mobile-panel {
      display: none;
      border-top: 1px solid rgba(219, 231, 247, .9);
      background: rgba(255, 255, 255, .92);
    }

    .mobile-panel.open {
      display: block;
    }

    .btn-primary,
    .btn-secondary,
    .btn-ghost {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 999px;
      font-weight: 800;
      line-height: 1;
      transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
    }

    .btn-primary {
      padding: 15px 22px;
      background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
      color: #fff;
      box-shadow: 0 18px 34px rgba(37, 99, 235, .24);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 24px 44px rgba(37, 99, 235, .30);
    }

    .btn-primary:active {
      transform: translateY(0);
      box-shadow: 0 12px 24px rgba(37, 99, 235, .20);
    }

    .btn-secondary {
      padding: 14px 20px;
      color: var(--color-primary);
      border: 1px solid rgba(37, 99, 235, .22);
      background: #fff;
      box-shadow: var(--shadow-sm);
    }

    .btn-secondary:hover {
      transform: translateY(-2px);
      border-color: rgba(37, 99, 235, .42);
      background: var(--color-primary-soft);
    }

    .btn-ghost {
      padding: 12px 16px;
      color: #334155;
      background: rgba(255, 255, 255, .70);
      border: 1px solid rgba(219, 231, 247, .86);
    }

    .btn-ghost:hover {
      color: var(--color-primary);
      border-color: rgba(37, 99, 235, .28);
      background: #fff;
    }

    .section-pad {
      padding: 76px 0;
    }

    .section-pad-sm {
      padding: 54px 0;
    }

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(37, 99, 235, .08);
      color: var(--color-primary);
      font-size: 13px;
      font-weight: 800;
      border: 1px solid rgba(37, 99, 235, .12);
    }

    .section-title {
      margin-top: 14px;
      font-size: clamp(28px, 4vw, 44px);
      line-height: 1.13;
      letter-spacing: -0.045em;
      font-weight: 950;
      color: #0f172a;
    }

    .section-desc {
      margin-top: 14px;
      color: var(--color-muted);
      font-size: 17px;
      max-width: 760px;
    }

    .hero-card {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-xl);
      background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.94)),
        radial-gradient(circle at 80% 15%, rgba(37, 99, 235, .18), transparent 28%);
      border: 1px solid rgba(219, 231, 247, .95);
      box-shadow: var(--shadow-lg);
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: -1px;
      background:
        radial-gradient(circle at 18% 20%, rgba(34, 197, 94, .13), transparent 24%),
        radial-gradient(circle at 76% 70%, rgba(37, 99, 235, .13), transparent 28%);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
    }

    .invite-stage {
      border-radius: 30px;
      background: #ffffff;
      border: 1px solid rgba(219, 231, 247, .96);
      box-shadow: var(--shadow-md);
    }

    .progress-track {
      height: 12px;
      border-radius: 999px;
      background: #e8f1ff;
      overflow: hidden;
      box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06);
    }

    .progress-fill {
      height: 100%;
      width: 68%;
      border-radius: inherit;
      background: linear-gradient(90deg, #22c55e, #2563eb);
      position: relative;
    }

    .progress-fill::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(45deg, rgba(255,255,255,.28) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.28) 75%, transparent 75%, transparent);
      background-size: 18px 18px;
      animation: progressMove 1.2s linear infinite;
    }

    @keyframes progressMove {
      to { background-position: 18px 0; }
    }

    .stat-pill {
      border-radius: 22px;
      background: rgba(255, 255, 255, .86);
      border: 1px solid rgba(219, 231, 247, .9);
      padding: 14px 16px;
      box-shadow: var(--shadow-sm);
    }

    .coupon-card {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      background: #fff;
      border: 1px solid rgba(219, 231, 247, .95);
      box-shadow: var(--shadow-sm);
      transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
    }

    .coupon-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
      border-color: rgba(37, 99, 235, .24);
    }

    .coupon-card::before,
    .coupon-card::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 22px;
      height: 22px;
      border-radius: 999px;
      background: var(--color-bg);
      border: 1px solid rgba(219, 231, 247, .95);
      transform: translateY(-50%);
    }

    .coupon-card::before {
      left: -12px;
    }

    .coupon-card::after {
      right: -12px;
    }

    .coupon-head {
      min-height: 118px;
      padding: 22px;
      background:
        linear-gradient(135deg, rgba(37, 99, 235, .95), rgba(96, 165, 250, .90)),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.22), transparent 30%);
      color: #fff;
    }

    .coupon-body {
      padding: 22px;
    }

    .rule-item {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 15px;
      align-items: flex-start;
      padding: 18px;
      border-radius: 24px;
      background: #fff;
      border: 1px solid rgba(219, 231, 247, .92);
      box-shadow: var(--shadow-sm);
    }

    .rule-num {
      width: 46px;
      height: 46px;
      border-radius: 17px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--color-primary);
      background: var(--color-primary-soft);
      font-weight: 950;
      border: 1px solid rgba(37, 99, 235, .12);
    }

    .metric-card,
    .matrix-card,
    .compare-card,
    .faq-item,
    .news-panel,
    .form-card {
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, .92);
      border: 1px solid rgba(219, 231, 247, .95);
      box-shadow: var(--shadow-sm);
    }

    .metric-card {
      padding: 24px;
      transition: transform var(--ease), box-shadow var(--ease);
    }

    .metric-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .metric-value {
      font-size: clamp(32px, 4vw, 48px);
      line-height: 1;
      font-weight: 950;
      letter-spacing: -0.06em;
      color: #0f172a;
    }

    .matrix-card {
      padding: 24px;
      transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
    }

    .matrix-card:hover {
      transform: translateY(-4px);
      border-color: rgba(37, 99, 235, .26);
      box-shadow: var(--shadow-md);
    }

    .icon-bubble {
      width: 46px;
      height: 46px;
      border-radius: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--color-primary-soft);
      color: var(--color-primary);
      font-size: 22px;
      border: 1px solid rgba(37, 99, 235, .12);
    }

    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag-chip {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 10px 13px;
      border-radius: 999px;
      background: #fff;
      color: #334155;
      border: 1px solid rgba(219, 231, 247, .95);
      box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
      font-weight: 700;
      font-size: 14px;
    }

    .tag-chip:hover {
      color: var(--color-primary);
      border-color: rgba(37, 99, 235, .24);
      transform: translateY(-2px);
      box-shadow: var(--shadow-sm);
    }

    .compare-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      overflow: hidden;
      border-radius: 26px;
      border: 1px solid rgba(219, 231, 247, .95);
      background: #fff;
      box-shadow: var(--shadow-sm);
    }

    .compare-table th,
    .compare-table td {
      padding: 18px 20px;
      text-align: left;
      border-bottom: 1px solid rgba(219, 231, 247, .86);
      vertical-align: top;
    }

    .compare-table th {
      background: #f3f7ff;
      color: #0f172a;
      font-weight: 900;
    }

    .compare-table tr:last-child td {
      border-bottom: 0;
    }

    .compare-table td:nth-child(2) {
      color: #0f172a;
      font-weight: 700;
      background: rgba(239, 246, 255, .55);
    }

    .people-strip {
      display: flex;
      gap: 18px;
      overflow-x: auto;
      padding: 6px 4px 18px;
      scroll-snap-type: x mandatory;
    }

    .people-strip::-webkit-scrollbar {
      height: 8px;
    }

    .people-strip::-webkit-scrollbar-thumb {
      background: #c7d7ef;
      border-radius: 999px;
    }

    .person-card {
      min-width: 285px;
      scroll-snap-align: start;
      border-radius: 30px;
      background: #fff;
      border: 1px solid rgba(219, 231, 247, .95);
      box-shadow: var(--shadow-sm);
      padding: 22px;
      transition: transform var(--ease), box-shadow var(--ease);
    }

    .person-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .avatar {
      width: 62px;
      height: 62px;
      border-radius: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 24px;
      font-weight: 950;
      background: linear-gradient(135deg, #2563eb, #22c55e);
      box-shadow: 0 14px 30px rgba(37, 99, 235, .20);
    }

    .news-link {
      display: grid;
      grid-template-columns: 92px 1fr;
      gap: 16px;
      padding: 18px;
      border-radius: 24px;
      border: 1px solid transparent;
      transition: background-color var(--ease), border-color var(--ease), transform var(--ease);
    }

    .news-link:hover {
      background: #f8fbff;
      border-color: rgba(37, 99, 235, .16);
      transform: translateX(3px);
    }

    .news-date {
      color: var(--color-primary);
      font-weight: 900;
      font-size: 13px;
      background: var(--color-primary-soft);
      border: 1px solid rgba(37, 99, 235, .12);
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
    }

    .recommend-card {
      padding: 20px;
      border-radius: 26px;
      background: linear-gradient(135deg, #0f172a, #1e40af);
      color: #fff;
      box-shadow: var(--shadow-md);
    }

    .faq-item {
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      padding: 20px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      background: transparent;
      color: var(--color-text);
      font-weight: 900;
      text-align: left;
    }

    .faq-answer {
      padding: 0 22px 22px;
      color: var(--color-muted);
      display: none;
    }

    .faq-item.open .faq-answer {
      display: block;
    }

    .faq-toggle {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: var(--color-primary-soft);
      color: var(--color-primary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      transition: transform var(--ease);
    }

    .faq-item.open .faq-toggle {
      transform: rotate(45deg);
    }

    .cta-section {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-xl);
      background:
        radial-gradient(circle at 15% 20%, rgba(34, 197, 94, .20), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #1e40af 64%, #2563eb 100%);
      color: #fff;
      box-shadow: var(--shadow-lg);
    }

    .form-input,
    .form-select,
    .form-textarea {
      width: 100%;
      border: 1px solid rgba(219, 231, 247, .95);
      border-radius: 18px;
      background: #fff;
      color: var(--color-text);
      padding: 13px 14px;
      outline: none;
      transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
      border-color: rgba(37, 99, 235, .55);
      box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
      background: #fbfdff;
    }

    .form-label {
      display: block;
      color: #334155;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .footer {
      background: #07111f;
      color: #cbd5e1;
      border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .footer a:hover {
      color: #ffffff;
    }

    .footer-card {
      border-radius: 28px;
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .08);
    }

    .floating-cta {
      position: fixed;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      z-index: 45;
      width: min(680px, calc(100% - 32px));
      border-radius: 999px;
      padding: 10px 12px 10px 18px;
      background: rgba(255, 255, 255, .88);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(219, 231, 247, .95);
      box-shadow: 0 20px 55px rgba(15, 23, 42, .18);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    @media (max-width: 1024px) {
      .container-custom {
        width: min(100% - 32px, var(--container));
      }

      .desktop-tools {
        display: none;
      }

      .section-pad {
        padding: 62px 0;
      }

      .hero-card {
        border-radius: 34px;
      }

      .compare-table th,
      .compare-table td {
        padding: 15px 14px;
      }
    }

    @media (max-width: 768px) {
      .desktop-nav {
        display: none;
      }

      .mobile-menu {
        display: inline-flex;
      }

      .site-logo-text {
        max-width: 190px;
      }

      .section-title {
        letter-spacing: -0.035em;
      }

      .hero-card {
        border-radius: 28px;
      }

      .invite-stage {
        border-radius: 24px;
      }

      .news-link {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .compare-wrap {
        overflow-x: auto;
        padding-bottom: 8px;
      }

      .compare-table {
        min-width: 660px;
      }

      .floating-cta {
        border-radius: 24px;
        align-items: flex-start;
      }
    }

    @media (max-width: 520px) {
      .container-custom {
        width: min(100% - 24px, var(--container));
      }

      .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 14px;
      }

      .site-logo-text {
        max-width: 150px;
      }

      .section-pad,
      .section-pad-sm {
        padding: 48px 0;
      }

      .btn-primary,
      .btn-secondary {
        width: 100%;
      }

      .hero-actions {
        width: 100%;
        flex-direction: column;
      }

      .coupon-head,
      .coupon-body {
        padding: 18px;
      }

      .rule-item {
        grid-template-columns: 1fr;
      }

      .floating-cta {
        display: none;
      }
    }
