/* ===== Pricing Comparison Table ===== */
      .pricing {
        position: relative;
        overflow: hidden;
        padding: 112px 0;
        background:
          radial-gradient(circle at 12% 16%, rgba(34,211,238,0.13), transparent 32%),
          radial-gradient(circle at 88% 10%, rgba(251,191,36,0.11), transparent 28%),
          linear-gradient(180deg, rgba(8,10,30,0.15), rgba(12,15,40,0.75));
      }

      .pricing::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image:
          linear-gradient(rgba(148,163,184,0.045) 1px, transparent 1px),
          linear-gradient(90deg, rgba(148,163,184,0.045) 1px, transparent 1px);
        background-size: 36px 36px;
        mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
      }

      .pricing .container { position: relative; z-index: 1; }

      .pricing-command {
        margin: 44px auto 28px;
        max-width: 900px;
      }

      .pricing-control-panel,
      .pricing-table-wrap {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(148,163,184,0.16);
        background: linear-gradient(145deg, rgba(17,20,51,0.86), rgba(8,10,30,0.84));
        box-shadow: 0 24px 90px rgba(0,0,0,0.26);
      }

      .pricing-control-panel { border-radius: 18px; padding: 18px; }

      .pricing-table-wrap::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,0.14), transparent 34%);
        opacity: 0;
        transition: opacity 0.25s ease;
      }

      .pricing-table-wrap:hover::before { opacity: 1; }

      .pricing-controls-label {
        margin-bottom: 12px;
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
      }

      .pricing-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      .pricing-tab {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        padding: 12px 14px;
        border: 1px solid rgba(148,163,184,0.14);
        border-radius: 12px;
        background: rgba(15,23,42,0.48);
        color: var(--text-muted);
        font-family: inherit;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
      }

      .pricing-tab:hover {
        transform: translateY(-2px);
        border-color: rgba(34,211,238,0.34);
        color: var(--text-secondary);
      }

      .pricing-tab.active {
        color: var(--text-primary);
        border-color: rgba(34,211,238,0.42);
        background: linear-gradient(135deg, rgba(79,70,229,0.24), rgba(6,182,212,0.18));
        box-shadow: 0 16px 36px rgba(6,182,212,0.12);
      }

      .pricing-table-wrap {
        display: none;
        border-radius: 22px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        animation: pricingReveal 0.34s ease both;
      }

      .pricing-table-wrap.active { display: block; }

      @keyframes pricingReveal {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
      }

      .pricing-table {
        position: relative;
        z-index: 1;
        width: 100%;
        min-width: 860px;
        border-collapse: separate;
        border-spacing: 0;
      }

      .pricing-table.wide { min-width: 1120px; }

      .pricing-table thead th {
        position: relative;
        padding: 26px 18px 22px;
        text-align: center;
        border-bottom: 1px solid rgba(148,163,184,0.14);
        background: rgba(8,10,30,0.42);
        color: var(--text-primary);
        font-size: 14px;
        font-weight: 700;
        vertical-align: top;
      }

      .pricing-table thead th:first-child {
        text-align: left;
        width: 24%;
        color: var(--text-secondary);
        background: rgba(8,10,30,0.22);
      }

      .pricing-table thead th.featured-col {
        background:
          linear-gradient(180deg, rgba(251,191,36,0.12), transparent 58%),
          linear-gradient(135deg, rgba(17,20,51,0.96), rgba(28,25,70,0.92));
        box-shadow: inset 0 0 0 1px rgba(251,191,36,0.2);
      }

      .plan-emoji {
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        margin: 0 auto 10px;
        border-radius: 12px;
        background: rgba(255,255,255,0.06);
        font-size: 20px;
      }

      .plan-name {
        display: block;
        margin-bottom: 4px;
        color: var(--text-primary);
        font-size: 16px;
        font-weight: 900;
      }

      .plan-audience {
        display: block;
        min-height: 34px;
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 600;
        line-height: 1.45;
      }

      .plan-price,
      .plan-price-free {
        display: block;
        margin: 8px 0 0;
        color: var(--text-primary);
        font-size: 26px;
        font-weight: 900;
        line-height: 1;
      }

      .plan-price-free { color: var(--teal-400); }
      .plan-price .currency { color: var(--text-secondary); font-size: 14px; font-weight: 700; }
      .plan-period { display: block; margin-top: 4px; color: var(--text-muted); font-size: 11px; font-weight: 700; }

      .plan-annual,
      .plan-fineprint {
        display: block;
        margin-top: 7px;
        color: var(--text-secondary);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.45;
      }

      .plan-annual strong { color: var(--teal-400); }

      .plan-savings {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
        padding: 6px 10px;
        border: 1px solid rgba(16,185,129,0.22);
        border-radius: 999px;
        background: rgba(16,185,129,0.12);
        color: var(--teal-400);
        font-size: 10px;
        font-weight: 900;
        white-space: nowrap;
      }

      .addon-note {
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 700;
      }

      .plan-price-original {
        display: block;
        margin-top: 8px;
        color: var(--text-muted);
        font-size: 13px;
        text-decoration: line-through;
        opacity: 0.65;
      }

      .discount-tag,
      .plan-badge-rec,
      .plan-status-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
        white-space: nowrap;
      }

      .plan-badge-rec {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        border: 1px solid rgba(251,191,36,0.28);
        background: rgba(251,191,36,0.15);
        color: var(--gold-400);
        animation: badgePulse 2s ease-in-out infinite;
      }

      @keyframes badgePulse {
        0%,100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.10); }
        50% { box-shadow: 0 0 20px 5px rgba(251,191,36,0.18); }
      }

      .discount-tag {
        margin-top: 8px;
        padding: 6px 10px;
        background: rgba(239,68,68,0.15);
        color: #FCA5A5;
      }

      .plan-status-pill {
        margin-top: 8px;
        padding: 6px 10px;
        background: rgba(100,116,139,0.14);
        color: var(--text-secondary);
      }

      .plan-cta-th {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        margin-top: 14px;
        padding: 9px 16px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      }

      .plan-cta-primary {
        color: white;
        background: linear-gradient(135deg, #4F46E5, #06B6D4 58%, #10B981);
        box-shadow: 0 12px 30px rgba(6,182,212,0.22);
      }

      .plan-cta-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 42px rgba(6,182,212,0.32);
      }

      .plan-cta-current,
      .plan-cta-coming {
        color: var(--text-muted);
        background: rgba(100,116,139,0.12);
      }

      .pricing-table tbody td {
        padding: 14px 18px;
        border-bottom: 1px solid rgba(148,163,184,0.09);
        color: var(--text-secondary);
        font-size: 13px;
        line-height: 1.55;
        text-align: center;
        transition: background 0.18s ease, color 0.18s ease;
      }

      .pricing-table tbody td:first-child {
        text-align: left;
        color: var(--text-primary);
        font-weight: 800;
      }

      .pricing-table tbody tr:last-child td { border-bottom: 0; }

      .pricing-table tbody tr:hover td {
        background: rgba(34,211,238,0.06);
        color: var(--text-primary);
      }

      .pricing-table tbody tr.promo-row td {
        background: rgba(251,191,36,0.045);
        color: var(--text-primary);
      }

      .pricing-table tbody tr.category-row td {
        padding: 10px 18px;
        background: rgba(79,70,229,0.11);
        color: var(--indigo-400);
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
      }

      .check { color: var(--teal-400); font-weight: 900; }
      .cross { color: rgba(100,116,139,0.62); font-weight: 800; }
      .limited { color: var(--gold-400); font-weight: 900; }
      .num { color: var(--text-primary); font-weight: 900; }

      .pricing-note {
        margin-top: 18px;
        color: var(--text-muted);
        font-size: 12px;
        line-height: 1.7;
        text-align: center;
      }

      @media (max-width: 768px) {
        .pricing { padding: 82px 0; }
        .pricing-tabs { grid-template-columns: 1fr; }
        .pricing-tab { justify-content: flex-start; min-height: 48px; }
        .pricing-table { min-width: 760px; }
        .pricing-table.wide { min-width: 1080px; }
        .pricing-table thead th,
        .pricing-table tbody td { padding: 12px; font-size: 12px; }
        .plan-price,
        .plan-price-free { font-size: 22px; }
      }

      @media (prefers-reduced-motion: reduce) {
        .plan-badge-rec,
        .pricing-table-wrap { animation: none; }
      }

      @media (max-width: 600px) {
        .pricing-table-wrap { border-radius: 12px; }
        .pricing-table { min-width: 660px; }
        .pricing-table.wide { min-width: 900px; }
        .pricing-table thead th,
        .pricing-table tbody td { padding: 10px 8px; font-size: 11px; }
        .plan-price, .plan-price-free { font-size: 18px; }
        .plan-name { font-size: 13px; }
      }