/* NavStak Subscription — black-on-black marketing desk */
.sub-page {
  margin: 0;
  min-height: 100vh;
  background: #030303;
  color: #f0f0f0;
  font-family: Inter, system-ui, sans-serif;
  position: relative;
  overflow-x: hidden;
}

.sub-fx {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sub-fx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 15%, transparent 70%);
  opacity: 0.7;
}
.sub-fx-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: subPulse 9s ease-in-out infinite alternate;
}
.sub-fx-glow--a {
  width: 420px;
  height: 420px;
  top: -80px;
  left: 15%;
  background: rgba(0, 255, 159, 0.12);
}
.sub-fx-glow--b {
  width: 380px;
  height: 380px;
  bottom: 5%;
  right: 8%;
  background: rgba(255, 255, 255, 0.05);
  animation-delay: -4s;
}
.sub-fx-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 48%,
    transparent 56%
  );
  background-size: 200% 100%;
  animation: subShine 12s linear infinite;
}
@keyframes subPulse {
  from { transform: scale(1); opacity: 0.65; }
  to { transform: scale(1.18); opacity: 1; }
}
@keyframes subShine {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
@keyframes subIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.sub-main {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.sub-embed .sub-site-chrome { display: none !important; }
.sub-embed .sub-main {
  max-width: none;
  padding: 0.65rem 0.75rem 1.5rem;
}

/* Hero */
.sub-hero {
  text-align: center;
  padding: 1.25rem 0 1.75rem;
  animation: subIn 0.45s ease both;
}
.sub-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00ff9f;
  text-shadow: 0 0 18px rgba(0, 255, 159, 0.45);
}
.sub-hero h1 {
  margin: 0.45rem 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #b8b8b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub-hero-lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #9a9a9a;
}
.sub-trial-banner {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 159, 0.28);
  background:
    linear-gradient(135deg, rgba(0, 255, 159, 0.08), rgba(0, 0, 0, 0.55)),
    #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(0, 255, 159, 0.08);
  animation: subIn 0.55s ease 0.08s both;
}
.sub-trial-banner strong {
  display: block;
  color: #00ff9f;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.sub-trial-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: #c8c8c8;
  line-height: 1.45;
}

/* Plan cards */
.sub-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .sub-plans { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

.sub-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, #111 0%, #070707 55%, #050505 100%);
  padding: 1.25rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  animation: subIn 0.5s ease both;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sub-card:nth-child(1) { animation-delay: 0.05s; }
.sub-card:nth-child(2) { animation-delay: 0.12s; }
.sub-card:nth-child(3) { animation-delay: 0.18s; }
.sub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.7);
}
.sub-card.is-highlight {
  border-color: rgba(0, 255, 159, 0.45);
  background:
    linear-gradient(165deg, rgba(0, 255, 159, 0.07) 0%, transparent 42%),
    linear-gradient(165deg, #121212 0%, #060606 100%);
  box-shadow:
    0 0 0 1px rgba(0, 255, 159, 0.12) inset,
    0 20px 60px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(0, 255, 159, 0.1);
  transform: scale(1.02);
  z-index: 1;
}
.sub-card.is-highlight:hover {
  transform: scale(1.03) translateY(-3px);
}
.sub-badge {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #03140c;
  background: linear-gradient(90deg, #00ff9f, #6dffc4);
  box-shadow: 0 0 20px rgba(0, 255, 159, 0.45);
  white-space: nowrap;
}
.sub-card-name {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sub-card-tag {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #8a8a8a;
  min-height: 2.4em;
}
.sub-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}
.sub-price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #9a9a9a;
}
.sub-price-num {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.sub-price-interval {
  font-size: 0.85rem;
  color: #6a6a6a;
  font-weight: 600;
}
.sub-cta-note {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  color: #6a6a6a;
}
.sub-cta {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-top: auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.sub-cta--ghost {
  background: #141414;
  color: #eee;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sub-cta--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.sub-cta--primary {
  color: #03140c;
  background: linear-gradient(135deg, #00ff9f 0%, #3dffb5 50%, #00e68a 100%);
  box-shadow: 0 8px 28px rgba(0, 255, 159, 0.28);
}
.sub-cta--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(0, 255, 159, 0.38);
}
.sub-cta--plat {
  color: #fff;
  background: linear-gradient(135deg, #2a2a2a, #111);
  border: 1px solid rgba(0, 255, 159, 0.35);
  box-shadow: 0 0 24px rgba(0, 255, 159, 0.12);
}
.sub-cta--plat:hover {
  border-color: rgba(0, 255, 159, 0.6);
  transform: translateY(-1px);
}

/* Comparison matrix */
.sub-matrix-wrap {
  margin-top: 0.5rem;
  animation: subIn 0.55s ease 0.15s both;
}
.sub-matrix-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.sub-matrix-h h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sub-matrix-h p {
  margin: 0;
  font-size: 0.78rem;
  color: #6a6a6a;
}
.sub-matrix-scroll {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #080808;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.sub-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.84rem;
}
.sub-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0c0c0c;
  padding: 0.85rem 0.75rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #b0b0b0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sub-matrix thead th:first-child {
  text-align: left;
  color: #6a6a6a;
}
.sub-matrix thead th.is-pro {
  color: #00ff9f;
  text-shadow: 0 0 12px rgba(0, 255, 159, 0.35);
}
.sub-matrix tbody td {
  padding: 0.72rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  vertical-align: middle;
  color: #c8c8c8;
}
.sub-matrix tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}
.sub-matrix tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: #e8e8e8;
}
.sub-feat-name {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: help;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
}
.sub-feat-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  color: #03140c;
  background: rgba(0, 255, 159, 0.75);
  flex-shrink: 0;
}
.sub-cell-yes {
  color: #00ff9f;
  font-weight: 800;
  font-size: 1.05rem;
  text-shadow: 0 0 10px rgba(0, 255, 159, 0.35);
}
.sub-cell-no {
  color: #3a3a3a;
  font-weight: 600;
}
.sub-cell-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d0d0d0;
}

/* Custom tooltip */
.sub-tooltip {
  position: fixed;
  z-index: 100;
  max-width: 280px;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #101010;
  border: 1px solid rgba(0, 255, 159, 0.25);
  color: #ddd;
  font-size: 0.78rem;
  line-height: 1.45;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.sub-tooltip.is-on {
  opacity: 1;
  transform: none;
}
.sub-tooltip strong {
  display: block;
  color: #00ff9f;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* Trust strip */
.sub-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}
@media (max-width: 700px) {
  .sub-trust { grid-template-columns: 1fr; }
}
.sub-trust-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0a;
}
.sub-trust-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #eee;
}
.sub-trust-card p {
  margin: 0;
  font-size: 0.78rem;
  color: #7a7a7a;
  line-height: 1.45;
}

.sub-foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: #555;
  line-height: 1.5;
}
.sub-foot li { margin: 0.25rem 0; }

.sub-status {
  text-align: center;
  color: #888;
  padding: 2rem;
}
