@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --test-ink: #f3f4f4;
  --test-muted: #98a0a4;
  --test-faint: #687076;
  --test-line: rgba(197, 211, 216, 0.13);
  --test-line-strong: rgba(197, 211, 216, 0.24);
  --test-panel: rgba(16, 21, 24, 0.84);
  --test-blue: #a8d8ea;
  --test-red: #ff5a62;
  --test-green: #77d9ae;
  --test-max: 1180px;
}

* { box-sizing: border-box; }

html {
  background: #080c0e;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #080c0e;
  color: var(--test-ink);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.34;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 4px;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: '';
  background: radial-gradient(circle at 50% 0%, rgba(102, 156, 176, 0.18), transparent 36%), #080c0e;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.test-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--test-max), calc(100% - 72px));
  min-height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.test-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.test-brand img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.test-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #aeb7bb;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.test-nav a { transition: color 160ms ease; }
.test-nav a:hover,
.test-nav a[aria-current="page"] { color: #fff; }

.test-header-download,
.test-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(220, 234, 238, 0.34);
  border-radius: 4px;
  background: rgba(223, 235, 238, 0.94);
  color: #101719;
  font-size: 10px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.test-header-download:hover,
.test-button:hover {
  background: #fff;
  box-shadow: 0 5px 20px rgba(172, 216, 231, 0.12);
  transform: translateY(-1px);
}

.test-button.secondary {
  border-color: rgba(221, 236, 241, 0.28);
  color: #d6e3e6;
  background: rgba(8, 14, 16, 0.55);
}

.test-hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 10, 12, 0.78) 0%, rgba(5, 10, 12, 0.36) 52%, rgba(5, 10, 12, 0.68) 100%),
    url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1800&q=85') center / cover no-repeat,
    linear-gradient(155deg, #101c20 0%, #344a50 45%, #0a1114 100%);
}

.test-hero::before {
  position: absolute;
  right: -8%;
  bottom: -2%;
  width: 74%;
  height: 78%;
  content: '';
  opacity: 0.75;
  background:
    linear-gradient(132deg, transparent 0 26%, rgba(201, 222, 225, 0.64) 26.4% 27%, transparent 27.4% 31%, rgba(137, 173, 181, 0.8) 31.4% 32%, transparent 32.4%),
    linear-gradient(153deg, transparent 0 42%, rgba(28, 48, 54, 0.98) 42.3% 48%, transparent 48.4%),
    linear-gradient(27deg, transparent 0 45%, rgba(19, 34, 39, 0.97) 45.3% 57%, transparent 57.4%),
    linear-gradient(145deg, transparent 0 56%, rgba(7, 16, 19, 0.98) 56.3% 72%, transparent 72.4%);
  filter: drop-shadow(-25px -24px 34px rgba(186, 219, 223, 0.16));
  transform: skewX(-3deg);
}

.test-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45%;
  content: '';
  background: linear-gradient(transparent, #080c0e 82%);
}

.test-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  width: min(var(--test-max), calc(100% - 72px));
  min-height: 710px;
  margin: 0 auto;
  padding: 118px 0 110px;
}

.test-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  isolation: isolate;
}

.test-eyebrow,
.test-section-label,
.test-surface-label {
  margin: 0 0 18px;
  color: var(--test-blue);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.test-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #f6f7f7;
  font-size: clamp(46px, 6.7vw, 78px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.96;
}

.test-hero h1 span { display: block; }

.test-hero-copy > p:not(.test-eyebrow) {
  max-width: 430px;
  margin: 27px 0 0;
  color: #c2cbce;
  font-size: 13px;
  line-height: 1.65;
}

.test-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.test-strip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 33px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--test-max), calc(100% - 72px));
  margin: 0 auto;
  color: rgba(221, 232, 235, 0.65);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.test-strip span:first-child { color: var(--test-faint); }

.test-content {
  position: relative;
  z-index: 5;
  width: min(100% - 96px, 1050px);
  margin: -20px auto 0;
  padding-bottom: 20px;
}

.test-surface {
  overflow: hidden;
  border: 1px solid rgba(196, 220, 226, 0.22);
  border-radius: 6px;
  background: #0f1417;
  box-shadow: 0 22px 85px rgba(0,0,0,0.48), 0 0 70px rgba(133, 188, 203, 0.08);
}

.test-surface-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--test-line);
}

.test-surface-top strong {
  color: #eaf1f2;
  font-size: 13px;
  font-weight: 500;
}

.test-surface-top span {
  color: var(--test-faint);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.test-record-grid,
.test-download-surface {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.test-record-list { padding: 0 22px 12px; }

.test-record-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--test-line);
}

.test-record-row:last-child { border-bottom: 0; }

.test-record-number,
.test-card-number {
  color: var(--test-red);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.test-record-row strong {
  color: #e9eff0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.test-record-row p {
  margin: 5px 0 0;
  color: var(--test-muted);
  font-size: 11px;
  line-height: 1.5;
}

.test-visual-card {
  margin: 20px;
  padding: 18px;
  border: 1px solid var(--test-line-strong);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(25, 37, 41, 0.9), rgba(10, 16, 18, 0.9));
}

.test-visual-card .test-surface-label { margin-bottom: 12px; }

.test-visual-card h3 {
  margin: 0;
  color: #eef4f4;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.test-visual-copy {
  margin: 10px 0 0;
  color: var(--test-muted);
  font-size: 11px;
  line-height: 1.55;
}

.test-status-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.test-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-top: 1px solid var(--test-line);
  color: #d4dfe1;
  font-size: 10px;
}

.test-status-row span:last-child { color: var(--test-green); }

.test-local-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
  padding: 7px 9px;
  border: 1px solid rgba(119, 217, 174, 0.2);
  border-radius: 3px;
  color: var(--test-green);
  background: rgba(119, 217, 174, 0.07);
  font-size: 9px;
}

.test-local-pill::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: '';
  background: currentColor;
}

.test-section {
  padding-top: 112px;
}

.test-section + .test-section {
  margin-top: 108px;
  padding-top: 30px;
  border-top: 1px solid var(--test-line);
}

.test-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: end;
}

.test-section-heading h2 {
  max-width: 570px;
  margin: 0;
  color: #f2f5f5;
  font-size: clamp(45px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.test-section-copy {
  max-width: 440px;
  margin: 0;
  color: var(--test-muted);
  font-size: 14px;
  line-height: 1.7;
}

.test-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 61px;
}

.test-card {
  min-height: 212px;
  padding: 20px;
  border: 1px solid var(--test-line);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(27,36,40,0.68), rgba(11,16,18,0.74));
}

.test-card:nth-child(2) { background: linear-gradient(145deg, rgba(20,31,35,0.82), rgba(11,17,19,0.75)); }
.test-card:nth-child(3) { background: linear-gradient(145deg, rgba(32,28,29,0.72), rgba(12,16,18,0.76)); }

.test-card h3 {
  margin: 45px 0 0;
  color: #f0f4f4;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.test-card p {
  margin: 10px 0 0;
  color: var(--test-muted);
  font-size: 12px;
  line-height: 1.55;
}

.test-split-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--test-line-strong);
  background: rgba(10, 15, 17, 0.48);
}

.test-split-column {
  min-width: 0;
  padding: 25px 25px 27px;
}

.test-split-column + .test-split-column { border-left: 1px solid var(--test-line); }

.test-split-column h3 {
  margin: 5px 0 0;
  color: #eef3f3;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.test-split-column p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--test-muted);
  font-size: 13px;
  line-height: 1.65;
}

.test-mini-list {
  display: grid;
  gap: 0;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.test-mini-list li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--test-line);
  color: #aeb9bb;
  font-size: 12px;
}

.test-mini-list li::before { color: var(--test-red); content: '—'; }

.test-faq-surface { padding-bottom: 12px; }

.test-faq-list { padding: 0 22px; }

.test-faq-item { border-bottom: 1px solid var(--test-line); }
.test-faq-item:last-child { border-bottom: 0; }

.test-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  padding: 19px 0;
  border: 0;
  color: #e9eff0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.test-faq-question::-webkit-details-marker { display: none; }
.test-faq-question::marker { display: none; }

.test-faq-plus {
  color: var(--test-blue);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 160ms ease;
}

.test-faq-item[open] .test-faq-plus { transform: rotate(45deg); }

.test-faq-answer {
  max-width: 760px;
  padding: 0 45px 21px 0;
}

.test-faq-answer p {
  margin: 0;
  color: var(--test-muted);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-line;
}

.test-download-copy { padding: 27px 27px 32px; }

.test-download-copy h2 {
  max-width: 500px;
  margin: 31px 0 0;
  color: #f1f5f5;
  font-size: clamp(37px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.test-download-copy p {
  max-width: 465px;
  margin: 19px 0 0;
  color: var(--test-muted);
  font-size: 13px;
  line-height: 1.65;
}

.test-download-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  border-left: 1px solid var(--test-line);
  background: linear-gradient(145deg, rgba(20,31,35,0.82), rgba(11,17,19,0.75));
}

.test-download-card h3 {
  margin: 0;
  color: #eff5f5;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.test-download-card p {
  margin: 9px 0 0;
  color: var(--test-muted);
  font-size: 11px;
  line-height: 1.6;
}

.test-download-card .test-button { align-self: flex-start; margin-top: 28px; }

.test-installer {
  padding-top: 17px;
  border-top: 1px solid var(--test-line);
  color: var(--test-faint);
  font-size: 9px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.test-footer {
  position: relative;
  width: min(var(--test-max), calc(100% - 72px));
  margin: 112px auto 0;
  padding: 28px 0 38px;
  border-top: 1px solid var(--test-line);
  color: var(--test-faint);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.test-footer a { color: var(--test-blue); }

.test-footer .copyright-mark {
  position: absolute;
  top: 28px;
  right: 0;
  display: block;
  color: var(--test-muted);
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

@media (max-width: 820px) {
  .test-header,
  .test-hero-inner,
  .test-strip,
  .test-footer { width: calc(100% - 40px); }

  .test-nav { display: none; }
  .test-hero { min-height: 650px; }
  .test-hero-inner { min-height: 650px; padding-top: 105px; }
  .test-hero::before { right: -42%; width: 110%; height: 63%; }
  .test-strip { gap: 18px; font-size: 8px; }
  .test-strip span:last-child { display: none; }

  .test-content { width: calc(100% - 40px); margin-top: -20px; }
  .test-record-grid,
  .test-download-surface,
  .test-split-surface,
  .test-section-heading { grid-template-columns: 1fr; }
  .test-download-card { border-top: 1px solid var(--test-line); border-left: 0; }
  .test-split-column + .test-split-column { border-top: 1px solid var(--test-line); border-left: 0; }
  .test-section { padding-top: 85px; }
  .test-section + .test-section { margin-top: 85px; }
  .test-section-heading { gap: 35px; }
  .test-card-grid { grid-template-columns: 1fr; }
  .test-card { min-height: 170px; }
  .test-card h3 { margin-top: 27px; }
}

@media (max-width: 520px) {
  .test-hero h1 { font-size: clamp(43px, 13vw, 61px); }
  .test-hero-copy > p:not(.test-eyebrow) { font-size: 12px; }
  .test-section-heading h2 { font-size: 52px; }
  .test-record-row strong { font-size: 12px; }
  .test-faq-question { font-size: 12px; }
}

/* Pricing dashboard */
.test-pricing-section { padding-top: 96px; }
#plans, #product, #workflow { scroll-margin-top: 28px; }

.test-pricing-heading h2 {
  max-width: 620px;
}

.test-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 56px;
  align-items: stretch;
}

.test-price-card {
  position: relative;
  display: flex;
  min-height: 525px;
  flex-direction: column;
  overflow: hidden;
  padding: 26px 24px 24px;
  border: 1px solid var(--test-line);
  border-radius: 7px;
  background: linear-gradient(150deg, rgba(21, 30, 33, 0.94), rgba(8, 13, 15, 0.96));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.test-price-card::before {
  position: absolute;
  top: -105px;
  right: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  content: '';
  background: radial-gradient(circle, rgba(145, 195, 211, 0.2), transparent 68%);
  pointer-events: none;
}

.test-price-card:hover {
  border-color: var(--test-line-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38), 0 0 35px rgba(133, 188, 203, 0.08);
  transform: translateY(-3px);
}

.test-price-card-featured {
  border-color: rgba(168, 216, 234, 0.48);
  background: linear-gradient(150deg, rgba(28, 42, 46, 0.97), rgba(9, 15, 17, 0.97));
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.36), 0 0 52px rgba(133, 188, 203, 0.13);
}

.test-price-card-featured::before {
  background: radial-gradient(circle, rgba(168, 216, 234, 0.28), transparent 68%);
}

.test-price-card > * {
  position: relative;
  z-index: 1;
}

.test-price-card-heading { margin-top: 2px; }

.test-price-badge + .test-price-card-heading { margin-top: 24px; }

.test-price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 7px;
  border: 1px solid rgba(168, 216, 234, 0.35);
  border-radius: 3px;
  color: var(--test-blue);
  background: rgba(168, 216, 234, 0.08);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.test-price-badge-dark {
  border-color: rgba(119, 217, 174, 0.26);
  color: var(--test-green);
  background: rgba(119, 217, 174, 0.07);
}

.test-price-kicker {
  margin: 0 0 13px;
  color: var(--test-blue);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.test-price-card h3 {
  margin: 0;
  color: #f1f5f5;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.test-price-description {
  min-height: 40px;
  margin: 12px 0 0;
  color: var(--test-muted);
  font-size: 11px;
  line-height: 1.55;
}

.test-price-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 30px;
  color: #f3f7f7;
}

.test-price-value span {
  color: var(--test-blue);
  font-size: 20px;
  font-weight: 500;
}

.test-price-value strong {
  font-size: clamp(37px, 4vw, 49px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.test-price-period {
  margin: 8px 0 0;
  color: var(--test-muted);
  font-size: 10px;
}

.test-price-includes {
  margin: 19px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--test-line);
  color: #d8e4e6;
  font-size: 11px;
  font-weight: 500;
}

.test-price-features {
  display: grid;
  gap: 11px;
  margin: 17px 0 24px;
  padding: 0;
  list-style: none;
}

.test-price-features li {
  display: flex;
  gap: 9px;
  color: #aebabc;
  font-size: 11px;
  line-height: 1.4;
}

.test-price-features li::before {
  flex: 0 0 auto;
  color: var(--test-green);
  content: '✓';
  font-size: 10px;
}

.test-price-button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border-color: rgba(220, 234, 238, 0.34);
  font-size: 11px;
}

.test-price-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.test-price-card-featured .test-price-button {
  border-color: rgba(168, 216, 234, 0.65);
  background: var(--test-blue);
  color: #0d171a;
}

.test-price-card-featured .test-price-button:disabled {
  opacity: 0.78;
}

.test-pricing-setup-note {
  margin: 18px 0 0;
  color: var(--test-faint);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.test-pricing-next-actions { margin-top: 31px; }

@media (max-width: 920px) {
  .test-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-price-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .test-price-card:last-child {
    grid-column: auto;
    width: auto;
  }
  .test-pricing-section { padding-top: 85px; }
  .test-pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .test-price-card { min-height: 0; }
  .test-price-description { min-height: 0; }
  .test-price-value strong { font-size: 45px; }
}

/* Pricing glass treatment: translucent panels, diagonal light, subtle stagger */
.test-pricing-grid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 4px 12px;
}

.test-pricing-grid::before,
.test-pricing-grid::after {
  position: absolute;
  z-index: 0;
  content: '';
  pointer-events: none;
}

.test-pricing-grid::before {
  top: -17%;
  right: -9%;
  bottom: -9%;
  left: -10%;
  opacity: 0.9;
  background:
    linear-gradient(148deg, transparent 0 28%, rgba(142, 109, 255, 0.38) 37% 48%, transparent 58%),
    linear-gradient(148deg, transparent 39%, rgba(231, 241, 244, 0.18) 45% 49%, transparent 55%);
  filter: blur(25px);
  transform: rotate(-2deg);
}

.test-pricing-grid::after {
  top: 6%;
  right: -12%;
  bottom: 36%;
  left: 29%;
  opacity: 0.72;
  background: linear-gradient(153deg, transparent 0 43%, rgba(245, 249, 249, 0.2) 47% 51%, transparent 55%);
  filter: blur(13px);
  mix-blend-mode: screen;
  transform: rotate(-1deg);
}

.test-price-card {
  --card-offset: 0px;
  z-index: 1;
  border-color: rgba(220, 231, 234, 0.19);
  background:
    linear-gradient(132deg, rgba(120, 128, 137, 0.16), transparent 27%),
    linear-gradient(155deg, rgba(55, 61, 68, 0.6), rgba(23, 25, 29, 0.74) 46%, rgba(7, 9, 12, 0.9));
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.34),
    0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(var(--card-offset));
}

.test-price-card[data-plan="monthly"] { --card-offset: 7px; }
.test-price-card[data-plan="yearly"] { --card-offset: -5px; }

.test-price-card::before {
  top: -28%;
  right: -22%;
  width: 150%;
  height: 62%;
  border-radius: 0;
  opacity: 0.8;
  background: linear-gradient(154deg, transparent 0 41%, rgba(231, 240, 242, 0.16) 47% 51%, transparent 57%);
  filter: blur(11px);
  transform: rotate(-1deg);
}

.test-price-card::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  content: '';
  background: linear-gradient(132deg, rgba(255, 255, 255, 0.16), transparent 20% 70%, rgba(255, 255, 255, 0.06));
  mix-blend-mode: screen;
  opacity: 0.38;
  pointer-events: none;
}

.test-price-card:hover {
  border-color: rgba(221, 235, 238, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 74px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(153, 198, 212, 0.12);
  transform: translateY(calc(var(--card-offset) - 4px));
}

.test-price-card-featured {
  border-color: rgba(183, 224, 236, 0.48);
  background:
    linear-gradient(132deg, rgba(143, 159, 169, 0.2), transparent 28%),
    linear-gradient(155deg, rgba(63, 73, 80, 0.72), rgba(25, 27, 33, 0.76) 47%, rgba(8, 11, 14, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 72px rgba(0, 0, 0, 0.38),
    0 0 58px rgba(133, 188, 203, 0.19);
}

.test-price-card-featured::before {
  background: linear-gradient(154deg, transparent 0 33%, rgba(164, 122, 255, 0.24) 43% 54%, transparent 64%);
}

.test-price-card[data-plan="yearly"] {
  border-color: rgba(218, 229, 233, 0.22);
  background:
    linear-gradient(132deg, rgba(106, 115, 123, 0.1), transparent 26%),
    linear-gradient(155deg, rgba(31, 35, 40, 0.38), rgba(10, 12, 16, 0.62) 52%, rgba(3, 4, 7, 0.78));
}

.test-price-card-heading { order: 1; }
.test-price-value { order: 2; }
.test-price-period { order: 3; }
.test-price-button {
  order: 4;
  align-self: flex-start;
  width: auto;
  min-height: 31px;
  margin-top: 16px;
  padding: 0 14px;
  border-radius: 999px;
}
.test-price-includes {
  order: 5;
  margin-top: 23px;
}
.test-price-features { order: 6; }

@media (max-width: 820px) {
  .test-price-card[data-plan="monthly"],
  .test-price-card[data-plan="yearly"] { --card-offset: 0px; }
  .test-price-card:last-child { justify-self: stretch; }
}

/* Taller, slimmer matte cards */
.test-pricing-grid {
  max-width: 930px;
  margin-right: auto;
  margin-left: auto;
}

.test-price-card {
  min-height: 430px;
  padding: 29px 27px 27px;
  justify-content: center;
  border-radius: 16px;
  border-color: rgba(221, 231, 234, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(154deg, rgba(63, 70, 76, 0.42), rgba(22, 25, 29, 0.58) 52%, rgba(7, 9, 12, 0.72));
  -webkit-backdrop-filter: blur(28px) saturate(112%);
  backdrop-filter: blur(28px) saturate(112%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 26px 70px rgba(0, 0, 0, 0.34);
}

.test-price-card::after {
  border-radius: inherit;
  background: linear-gradient(141deg, rgba(255, 255, 255, 0.11), transparent 23% 72%, rgba(255, 255, 255, 0.035));
  opacity: 0.42;
}

.test-price-card-featured {
  border-color: rgba(191, 217, 225, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(154deg, rgba(77, 68, 103, 0.53), rgba(28, 26, 38, 0.62) 52%, rgba(8, 10, 14, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 28px 78px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(144, 108, 224, 0.14);
}

.test-price-card[data-plan="yearly"] {
  border-color: rgba(221, 230, 233, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 24%),
    linear-gradient(154deg, rgba(34, 38, 42, 0.29), rgba(12, 14, 18, 0.46) 52%, rgba(2, 3, 6, 0.62));
}

.test-price-card:hover {
  border-color: rgba(227, 237, 239, 0.38);
}

.test-price-badge {
  border-radius: 6px;
}

@media (max-width: 920px) {
  .test-pricing-grid { max-width: none; }
  .test-price-card { min-height: 430px; }
}

@media (max-width: 520px) {
  .test-price-card { min-height: 420px; }
}

/* Remove the blocky color spill and keep the ambient pricing light soft. */
.test-pricing-grid::before {
  top: 15%;
  right: 35%;
  bottom: 26%;
  left: -10%;
  border-radius: 999px;
  opacity: 0.72;
  background:
    radial-gradient(ellipse at 22% 78%, rgba(142, 109, 255, 0.32), transparent 54%),
    linear-gradient(148deg, transparent 0 38%, rgba(142, 109, 255, 0.24) 47% 53%, transparent 63%);
  filter: blur(28px);
  transform: rotate(-5deg);
}

.test-pricing-grid::after {
  top: 9%;
  right: -7%;
  bottom: 48%;
  left: 43%;
  border-radius: 999px;
  opacity: 0.58;
  background: linear-gradient(153deg, transparent 0 42%, rgba(245, 249, 249, 0.2) 48% 52%, transparent 59%);
  filter: blur(16px);
  transform: rotate(-3deg);
}

/* Leave room for the staggered cards and their hover lift. */
.test-pricing-grid {
  padding-top: 14px;
}

/* CSS equivalent of the requested BorderBeam treatment for this static HTML site. */
@property --test-beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.test-price-beam {
  position: absolute;
  z-index: 0 !important;
  inset: 0;
  display: block;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--test-beam-angle),
    transparent 0deg 246deg,
    rgba(117, 223, 183, 0.98) 258deg,
    rgba(168, 216, 234, 1) 273deg,
    rgba(164, 111, 255, 0.96) 288deg,
    transparent 306deg 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  filter: drop-shadow(0 0 7px rgba(168, 216, 234, 0.64));
  pointer-events: none;
  transition: opacity 180ms ease;
  animation: test-border-beam 3.1s linear infinite;
  animation-play-state: paused;
}

.test-price-card:hover .test-price-beam,
.test-price-card:focus-within .test-price-beam {
  opacity: 0.86;
  animation-play-state: running;
}

@keyframes test-border-beam {
  to { --test-beam-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .test-price-beam { animation: none; }
}
