/* CLIPHORIUM_PRICING_PAGE_V3 (starter+scale priced, enterprise gated) */

:root{
  --bg:#050505;

  --panel: rgba(255,255,255,.03);
  --panel2: rgba(255,255,255,.045);

  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(212,175,55,.22);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --muted2: rgba(255,255,255,.44);

  --gold:#D4AF37;
  --gold2:#F5D66A;

  --shadow: 0 20px 70px rgba(0,0,0,.55);
  --radius: 18px;

  --rail: 1400px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(1100px 700px at 80% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(212,175,55,.06), transparent 60%),
    var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.pricing-shell{
  max-width: var(--rail);
  margin: 0 auto;
  padding: 26px 18px 60px;
}

.pricing-hero{
  padding-top: 18px;
}

.eyebrow{
  letter-spacing:.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 10px;
}

.pricing-hero h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.1;
}

.pricing-hero .sub{
  margin: 0;
  color: var(--muted);
  max-width: 950px;
  line-height: 1.45;
}

.value-strip{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.value{
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.v-title{
  font-weight: 700;
  color: rgba(255,255,255,.90);
  margin-bottom: 4px;
}

.v-sub{
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.plan-card{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding: 14px;
  overflow:hidden;
}

.plan-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background:
    radial-gradient(420px 240px at 20% 0%, rgba(212,175,55,.14), transparent 55%),
    radial-gradient(520px 260px at 80% 10%, rgba(255,255,255,.08), transparent 60%);
  opacity:.55;
}

.plan-card.popular{
  border-color: var(--stroke2);
  box-shadow: 0 25px 80px rgba(0,0,0,.60);
}

.badge{
  position:absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.35);
  background: rgba(212,175,55,.12);
  color: var(--gold2);
  font-weight: 700;
}

.plan-top{ position: relative; }
.plan-name{
  font-size: 18px;
  font-weight: 800;
  letter-spacing:.01em;
}

.plan-tag{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.plan-price{
  position: relative;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.price{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.per{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted2);
}

.plan-features{
  position: relative;
  margin: 12px 0 0;
  padding: 0;
  list-style:none;
}

.plan-features li{
  display:flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.25;
}

.plan-features li:last-child{ border-bottom: 0; }

.plan-features li::before{
  content:"";
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(212,175,55,.70);
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
  flex: 0 0 8px;
}

.plan-cta{
  position: relative;
  display:flex;
  gap: 10px;
  margin-top: 12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.90);
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
  user-select:none;
}

.btn:hover{ filter: brightness(1.06); }

.btn.primary{
  background: linear-gradient(180deg, rgba(212,175,55,.18), rgba(255,255,255,.03));
  border-color: rgba(212,175,55,.35);
}

.btn.ghost{
  background: rgba(255,255,255,.02);
}

.plan-footnote{
  position: relative;
  margin-top: 10px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.35;
}

.pricing-faq{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.faq-card{
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  padding: 12px 14px;
}

.faq-card h3{
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing:.01em;
}

.faq-card p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Plan chips */
.ch-planchips{
  position: fixed;
  top: 12px;
  left: 14px;
  display:flex;
  gap: 8px;
  z-index: 9999;
  pointer-events:none;
}

.ch-planchips .chip{
  pointer-events:none;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
}

@media (max-width: 1100px){
  .pricing-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-faq{ grid-template-columns: 1fr; }
  .value-strip{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .plan-cta{ flex-direction: column; }
  .ch-planchips{ display:none; }
}


/* ===== CLIPHORIUM_PRICING_COMPARE_POLISH_V6 (clean + aligned + premium) ===== */

.pricing-compare{
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow:hidden;
}

.compare-head{
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(212,175,55,.12), transparent 60%),
    rgba(0,0,0,.10);
}

.compare-head h2{
  margin: 0 0 6px;
  font-size: 18px;
}

.compare-head p{
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

/* Legend strip */
.compare-legend{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  padding: 10px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.08);
}

.legend-item{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

/* Table base (stable, non-wavy) */
.compare-wrap{
  width:100%;
  overflow:auto;
}

.compare-table{
  width:100%;
  table-layout: fixed;
  border-collapse: collapse;
}

/* Column widths: features wider, plan columns consistent */
.compare-table thead th.feat,
.compare-table tbody td.feat{ width: 38%; }

.compare-table thead th:not(.feat),
.compare-table tbody td:not(.feat){ width: 15.5%; }

/* Cell borders */
.compare-table thead th,
.compare-table tbody td{
  border-right: 1px solid rgba(255,255,255,.06);
}

.compare-table thead th:last-child,
.compare-table tbody td:last-child{
  border-right: none;
}

/* Spacing + alignment */
.compare-table th,
.compare-table td{
  padding: 12px 12px;
  vertical-align: middle;
}

.compare-table thead th{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  color: rgba(255,255,255,.62);
  background: rgba(0,0,0,.06);
}

.compare-table thead th.feat,
.compare-table tbody td.feat{
  text-align:left;
}

.compare-table thead th:not(.feat),
.compare-table tbody td:not(.feat){
  text-align:center;
  white-space: nowrap;
}

/* Scanability */
.compare-table tbody tr:nth-child(odd){
  background: rgba(255,255,255,.015);
}

.compare-table tbody tr:hover{
  background: rgba(212,175,55,.05);
}

/* Pills */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 92px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.10);
}

.pill.yes{
  background: rgba(212,175,55,.16);
  border-color: rgba(212,175,55,.30);
  color: rgba(255,255,255,.92);
}

.pill.soft{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
}

.pill.no{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.52);
}

@media (max-width: 780px){
  .legend-item{ font-size: 12px; }
}

/* ===== CLIPHORIUM_PRICING_LEGEND_ICONS_V1 ===== */
.legend-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
  font-size: 12px;
  line-height: 1;
  flex: 0 0 22px;
}
