:root {
  --ink: #111816;
  --muted: #64726c;
  --line: #dde8e2;
  --panel: #ffffff;
  --panel-soft: #f4f8f5;
  --page: #eef5f1;
  --green: #226f54;
  --green-dark: #102a24;
  --blue: #2457d6;
  --orange: #d46138;
  --amber: #e7a23a;
  --mint: #7bd389;
  --danger: #b93939;
  --violet: #6c4fd8;
  --cyan: #1b8a9b;
  --shadow: 0 18px 48px rgba(20, 35, 29, 0.11);
  --shadow-tight: 0 10px 26px rgba(20, 35, 29, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(34, 111, 84, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(36, 87, 214, 0.07), transparent 30%),
    var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.icon-sprite {
  display: none;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 24px;
  color: #f8fff9;
  background:
    linear-gradient(180deg, rgba(123, 211, 137, 0.12), transparent 34%),
    #0f241f;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #7bd389, #e7a23a);
  color: #17231f;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(123, 211, 137, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: rgba(248, 255, 249, 0.68);
  font-size: 0.82rem;
}

.main-nav {
  display: grid;
  gap: 8px;
}

.main-nav a {
  padding: 12px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(248, 255, 249, 0.76);
  text-decoration: none;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.trust-panel {
  margin-top: auto;
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
}

.trust-panel span {
  color: rgba(248, 255, 249, 0.74);
  font-size: 0.9rem;
  line-height: 1.5;
}

main {
  display: grid;
  gap: 26px;
  padding: 26px;
}

.announcement-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-tight);
  color: var(--muted);
  text-align: center;
}

.announcement-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff3e6;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.announcement-strip strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.announcement-strip a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.topbar,
.section-heading,
.cart-header,
.support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f8fff9;
  background:
    linear-gradient(115deg, rgba(16, 42, 36, 0.98), rgba(28, 70, 58, 0.94) 48%, rgba(36, 87, 214, 0.78)),
    #102a24;
  box-shadow: var(--shadow);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(42%, 420px);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08)),
    url("assets/proxy-network.svg") center / cover;
  opacity: 0.5;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  line-height: 1.05;
}

.topbar .eyebrow,
.topbar h1,
.topbar .hero-copy,
.topbar-actions {
  position: relative;
  z-index: 1;
}

.topbar .eyebrow {
  color: #9ff0ad;
}

.hero-copy {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(248, 255, 249, 0.76);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-actions a {
  text-decoration: none;
}

.secondary-button.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-offer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.hero-offer p {
  margin-bottom: 0;
  color: rgba(248, 255, 249, 0.78);
  line-height: 1.5;
}

.offer-price {
  display: grid;
  gap: 2px;
}

.offer-price span {
  color: rgba(248, 255, 249, 0.7);
  font-size: 0.84rem;
  font-weight: 800;
}

.offer-price strong {
  color: #ffffff;
  font-size: 2rem;
}

h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.topbar-actions,
.filters,
.support-actions,
.plan-actions,
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions {
  align-self: start;
}

.category-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.category-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  white-space: nowrap;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: var(--shadow-tight);
}

.icon-button,
.account-button,
.primary-button,
.secondary-button,
.plan-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
}

.icon-button {
  position: relative;
  display: grid;
  width: 44px;
  place-items: center;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow-tight);
}

.topbar .icon-button,
.topbar .account-button {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(123, 211, 137, 0.34);
  border-radius: 999px;
  background: rgba(123, 211, 137, 0.13);
  color: #dfffe6;
  font-size: 0.86rem;
  font-weight: 900;
}

.live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #7bd389;
  box-shadow: 0 0 0 5px rgba(123, 211, 137, 0.18);
}

.icon-button.subtle {
  box-shadow: none;
  border: 1px solid var(--line);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.account-button,
.primary-button,
.secondary-button,
.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  font-weight: 800;
}

.account-button,
.secondary-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.primary-button,
.plan-button {
  background: var(--green-dark);
  color: #ffffff;
}

.secondary-button:hover,
.account-button:hover,
.icon-button:hover {
  border-color: #b8c8c1;
}

.primary-button:hover,
.plan-button:hover {
  background: var(--green);
}

.primary-button:disabled,
.plan-button:disabled {
  cursor: not-allowed;
  background: #94a59d;
}

.operations-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1.28fr);
  gap: 18px;
}

.status-panel,
.checkout-panel,
.cart-panel,
.support-strip,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.status-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(123, 211, 137, 0.13), rgba(255, 255, 255, 0) 36%),
    #ffffff;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(123, 211, 137, 0.18);
}

.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0 14px;
  border-bottom: 1px solid var(--line);
}

.metric-row span {
  color: var(--muted);
}

.metric-row strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.latency-bar {
  display: grid;
  gap: 10px;
}

.latency-bar span {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #eef5f1;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.latency-bar span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: rgba(123, 211, 137, 0.38);
}

.latency-bar span:nth-child(2)::before {
  background: rgba(45, 95, 208, 0.2);
}

.latency-bar span:nth-child(3)::before {
  background: rgba(240, 177, 94, 0.34);
}

.network-visual {
  position: relative;
  overflow: hidden;
  min-height: 268px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.network-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 268px;
  object-fit: cover;
}

.network-visual figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(10px);
}

.network-visual figcaption span {
  color: var(--muted);
  font-size: 0.86rem;
}

.workspace-section {
  display: grid;
  gap: 16px;
  padding: 2px;
}

.audience-section,
.flow-section,
.faq-section {
  display: grid;
  gap: 16px;
}

.audience-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.audience-grid article,
.flow-grid article,
.faq-section details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-tight);
}

.audience-grid article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 17px;
}

.audience-grid strong {
  font-size: 1.02rem;
}

.audience-grid span,
.flow-grid p,
.faq-section p {
  color: var(--muted);
  line-height: 1.55;
}

.flow-grid article {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.flow-grid article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-dark);
  color: #ffffff;
  font-weight: 900;
}

.faq-section {
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  align-items: start;
}

.faq-section details {
  padding: 16px 18px;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-section p {
  margin: 12px 0 0;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 250px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-tight);
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-tight);
}

.segmented button {
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.segmented button.active {
  background: var(--green-dark);
  color: #ffffff;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 249, 0.98));
  box-shadow: var(--shadow-tight);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber));
}

.product-card:hover {
  border-color: #bad1c7;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef7f1;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.type-pill.isp {
  background: #f0edff;
  color: var(--violet);
}

.type-pill.datacenter {
  background: #eef3ff;
  color: var(--blue);
}

.type-pill.mobile {
  background: #fff3e6;
  color: var(--orange);
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #40504a;
  font-size: 0.92rem;
}

.feature-list .icon {
  color: var(--green);
}

.price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.price-line strong {
  font-size: 1.7rem;
}

.price-line span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stock {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef7f1;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}

.checkout-panel,
.cart-panel {
  padding: 20px;
}

.checkout-panel {
  background:
    linear-gradient(180deg, rgba(36, 87, 214, 0.06), rgba(255, 255, 255, 0) 28%),
    #ffffff;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.payment-box {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(123, 211, 137, 0.16), rgba(36, 87, 214, 0.06)),
    #f8fbf9;
}

.payment-box[hidden] {
  display: none;
}

.payment-box code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #40504a;
  font-size: 0.84rem;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: #40504a;
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toggle-line {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
}

.toggle-line input {
  width: 18px;
  height: 18px;
  min-height: auto;
  accent-color: var(--green);
}

.cart-panel {
  position: sticky;
  top: 18px;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  box-shadow: 0 6px 16px rgba(20, 35, 29, 0.04);
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-top strong {
  display: block;
}

.cart-item-top span {
  color: var(--muted);
  font-size: 0.86rem;
}

.quantity-controls {
  justify-content: space-between;
}

.quantity-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.quantity-controls strong {
  min-width: 28px;
  text-align: center;
}

.cart-empty {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.cart-empty.hidden,
.cart-items:empty {
  display: none;
}

.totals {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  margin: 0;
  font-weight: 900;
}

.grand-total {
  align-items: baseline;
  padding-top: 10px;
  color: var(--ink);
}

.grand-total dd {
  font-size: 1.35rem;
}

.table-wrap {
  overflow-x: auto;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.delivery-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-tight);
}

.delivery-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--mint), var(--cyan));
}

.delivery-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.proxy-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.proxy-credentials div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f2f6f4;
  border: 1px solid #e3ece7;
}

.proxy-credentials dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proxy-credentials dd {
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  background: #f5f8f6;
}

tr:last-child td {
  border-bottom: 0;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef7f1;
  color: var(--green);
  font-weight: 900;
  font-size: 0.78rem;
}

.status-tag.pending {
  background: #fff3e6;
  color: var(--orange);
}

.support-strip {
  padding: 18px;
  color: #f8fff9;
  background:
    linear-gradient(110deg, rgba(16, 42, 36, 0.98), rgba(34, 111, 84, 0.9)),
    var(--green-dark);
}

.support-strip .eyebrow {
  color: #9ff0ad;
}

.support-strip .secondary-button {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.support-strip h2 {
  max-width: 780px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .main-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-panel {
    margin-top: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  main {
    padding: 18px;
  }

  .topbar,
  .section-heading,
  .commerce-layout,
  .operations-grid,
  .support-strip {
    grid-template-columns: 1fr;
  }

  .topbar,
  .section-heading,
  .support-strip {
    display: grid;
  }

  .topbar {
    min-height: auto;
    padding: 22px;
  }

  .topbar::after {
    opacity: 0.22;
    width: 100%;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .search-field {
    min-width: 0;
  }

  .segmented {
    overflow-x: auto;
  }

  .commerce-layout {
    display: grid;
  }

  .delivery-grid,
  .proxy-credentials {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .sidebar {
    padding: 18px;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-actions,
  .hero-actions,
  .support-actions,
  .form-row,
  .product-grid {
    grid-template-columns: 1fr;
    display: grid;
    width: 100%;
  }

  .account-button,
  .primary-button,
  .secondary-button,
  .plan-button {
    width: 100%;
  }

  .icon-button {
    width: 100%;
  }

  .product-top,
  .price-line,
  .audience-grid,
  .flow-grid,
  .announcement-strip {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Portal pages */
.portal-body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(51, 135, 255, 0.28), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(46, 232, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #040914 0%, #07111f 52%, #040914 100%);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  min-height: 100vh;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  gap: 22px;
  padding: 28px 0;
}

.auth-hero,
.auth-card,
.portal-header,
.portal-sidebar,
.portal-metrics article {
  border: 1px solid rgba(141, 177, 224, 0.16);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.74);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(18px);
}

.auth-hero {
  display: grid;
  align-content: space-between;
  min-height: 560px;
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(120deg, rgba(4, 9, 20, 0.94), rgba(20, 72, 150, 0.55)),
    rgba(8, 20, 38, 0.74);
}

.auth-hero h1,
.portal-header h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.demo-logins {
  display: grid;
  gap: 8px;
}

.demo-logins span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(85, 199, 255, 0.16);
  border-radius: 8px;
  background: rgba(85, 199, 255, 0.08);
  color: #dff8ff;
  font-size: 0.86rem;
}

.auth-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.auth-card form {
  display: grid;
  gap: 13px;
}

.auth-card label {
  display: grid;
  gap: 7px;
  color: #c8dcf2;
  font-weight: 800;
}

.auth-card input {
  min-height: 44px;
  border: 1px solid rgba(141, 177, 224, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #eef6ff;
}

.form-message {
  margin: 0;
  color: #ffb35c;
}

.portal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.portal-sidebar {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 16px;
}

.portal-nav {
  display: grid;
  gap: 8px;
}

.portal-nav a {
  padding: 10px 11px;
  border-radius: 8px;
  color: #bcd2e7;
  text-decoration: none;
  font-weight: 800;
}

.portal-nav a:hover {
  background: rgba(85, 199, 255, 0.1);
  color: #ffffff;
}

.portal-main {
  display: grid;
  gap: 16px;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portal-metrics article {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.portal-metrics span {
  color: var(--muted);
  font-weight: 800;
}

.portal-metrics strong {
  color: #ffffff;
  font-size: 1.8rem;
}

@media (max-width: 920px) {
  .auth-shell,
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: auto;
  }

  .portal-sidebar {
    position: static;
  }

  .portal-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .portal-metrics {
    grid-template-columns: 1fr;
  }

  .portal-header {
    display: grid;
  }
}

/* Extra visual depth */
.hero-console {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 18px;
  z-index: 2;
  width: min(420px, 42%);
  padding: 14px;
  border: 1px solid rgba(143, 169, 208, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11, 25, 48, 0.86), rgba(4, 9, 20, 0.78));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.console-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff6b80;
}

.console-top span:nth-child(2) {
  background: #ffce73;
}

.console-top span:nth-child(3) {
  background: #72e8ff;
}

.console-top strong {
  margin-left: auto;
  color: #9beeff;
  font-size: 0.68rem;
  text-transform: uppercase;
}

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

.console-grid div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(143, 169, 208, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.console-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
}

.console-grid strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1rem;
}

.console-lines {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.console-lines span {
  display: block;
  width: var(--w);
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(52, 236, 255, 0.8), rgba(58, 141, 255, 0.18));
}

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

.feature-strip article,
.visual-band {
  border: 1px solid rgba(143, 169, 208, 0.13);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 28, 54, 0.72), rgba(7, 16, 31, 0.68));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.feature-strip article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 7px;
  padding: 14px;
}

.feature-strip article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(52, 236, 255, 0.08);
}

.feature-strip span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #34ecff, #3a8dff);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.feature-strip strong {
  color: #ffffff;
}

.feature-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.visual-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 20% 30%, rgba(52, 236, 255, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(12, 28, 54, 0.78), rgba(13, 38, 75, 0.66));
}

.visual-band h2 {
  max-width: 520px;
}

.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pipeline span {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(116, 230, 255, 0.15);
  border-radius: 999px;
  background: rgba(116, 230, 255, 0.08);
  color: #dff8ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.pipeline i {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(116, 230, 255, 0.2), rgba(116, 230, 255, 0.8));
}

.product-card {
  isolation: isolate;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px auto;
  width: 52px;
  height: 52px;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(52, 236, 255, 0.12), rgba(154, 139, 255, 0.08));
  transform: rotate(10deg);
}

.product-card:nth-child(3n + 2)::after {
  border-radius: 50%;
}

.product-card:nth-child(3n + 3)::after {
  width: 70px;
  height: 36px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .hero-console {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-band {
    display: grid;
  }
}

@media (max-width: 620px) {
  .feature-strip,
  .console-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ and organization polish */
.faq-section {
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.faq-section details {
  position: relative;
  overflow: hidden;
  padding: 12px 14px 12px 16px;
}

.faq-section details::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #34ecff, #3a8dff);
  opacity: 0.8;
}

.faq-section summary {
  list-style: none;
  padding-right: 24px;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  float: right;
  margin-right: -20px;
  color: #72e8ff;
  font-weight: 900;
}

.faq-section details[open] summary::after {
  content: "-";
}

.faq-section details p {
  font-size: 0.84rem;
}

.workspace-section,
.audience-section,
.flow-section,
.reviews-section {
  position: relative;
}

.workspace-section::before,
.audience-section::before,
.flow-section::before,
.reviews-section::before {
  content: "";
  position: absolute;
  inset: -7px -7px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 230, 255, 0.18), transparent);
  pointer-events: none;
}

.section-heading {
  min-height: 46px;
  padding: 0 2px;
}

.topbar {
  overflow: hidden;
}

.topbar::before {
  background:
    linear-gradient(90deg, rgba(116, 230, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%);
}

.operations-grid {
  margin-top: -2px;
}

.product-card h3,
.delivery-card h3 {
  letter-spacing: -0.015em;
}

.product-card .plan-button {
  width: 100%;
}

.cart-panel,
.checkout-panel {
  align-self: start;
}

.support-strip,
.compliance-section,
.visual-band {
  position: relative;
  overflow: hidden;
}

.support-strip::after,
.compliance-section::after,
.visual-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(52, 236, 255, 0.08);
  pointer-events: none;
}

.reviews-grid article {
  position: relative;
  overflow: hidden;
}

.reviews-grid article::before {
  content: "”";
  position: absolute;
  right: 12px;
  top: -18px;
  color: rgba(116, 230, 255, 0.12);
  font-size: 5rem;
  font-weight: 900;
}

@media (max-width: 900px) {
  .faq-section {
    grid-template-columns: 1fr;
  }
}

/* Store premium polish inspired by modern catalog layouts */
.announcement-strip {
  position: relative;
  overflow: hidden;
}

.announcement-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(116, 230, 255, 0.08), transparent);
  transform: translateX(-60%);
  pointer-events: none;
}

.text-glow {
  color: #9beeff;
  text-shadow: 0 0 28px rgba(52, 236, 255, 0.36);
}

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

.hero-stats article {
  position: relative;
  overflow: hidden;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(143, 169, 208, 0.13);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 15%, rgba(52, 236, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(12, 28, 54, 0.78), rgba(7, 16, 31, 0.7));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.hero-stats article::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(116, 230, 255, 0.12);
  border-radius: 28px;
  transform: rotate(18deg);
}

.hero-stats strong {
  display: block;
  color: #ffffff;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-grid {
  align-items: stretch;
}

.product-card {
  padding-top: 12px;
}

.card-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  color: #72e8ff;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-category::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(116, 230, 255, 0.6), transparent);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 8px 9px;
  border: 1px solid rgba(143, 169, 208, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.product-meta span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-meta strong {
  color: #dff8ff;
  font-size: 0.76rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.card-actions .secondary-button {
  min-width: 106px;
}

.buy-now {
  box-shadow: 0 12px 30px rgba(58, 141, 255, 0.24);
}

.add-cart {
  border-color: rgba(116, 230, 255, 0.16);
  background: rgba(116, 230, 255, 0.065);
}

.product-card .stock {
  display: none;
}

.category-rail {
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.feature-strip article,
.reviews-grid article,
.audience-grid article,
.flow-grid article {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.feature-strip article:hover,
.reviews-grid article:hover,
.audience-grid article:hover,
.flow-grid article:hover {
  border-color: rgba(116, 230, 255, 0.28);
  box-shadow: 0 18px 52px rgba(52, 236, 255, 0.08);
  transform: translateY(-2px);
}

.commerce-layout {
  grid-template-columns: minmax(0, 1.05fr) 340px;
}

.checkout-panel,
.cart-panel {
  min-height: auto;
}

.site-footer {
  border-top: 1px solid rgba(143, 169, 208, 0.12);
}

@media (max-width: 900px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .commerce-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-actions .secondary-button {
    width: 100%;
  }
}

/* Full brand refresh */
:root {
  --brand-a: #27e7ff;
  --brand-b: #367bff;
  --brand-c: #9b7cff;
  --surface-1: rgba(5, 13, 28, 0.82);
  --surface-2: rgba(10, 26, 52, 0.72);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(39, 231, 255, 0.18), transparent 22%),
    radial-gradient(circle at 92% 0%, rgba(155, 124, 255, 0.18), transparent 24%),
    radial-gradient(circle at 55% 45%, rgba(54, 123, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #020611 0%, #071224 42%, #030711 100%);
}

.app-shell::before {
  width: 320px;
  height: 320px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(39, 231, 255, 0.08), rgba(155, 124, 255, 0.035)),
    repeating-linear-gradient(135deg, rgba(116, 230, 255, 0.08) 0 1px, transparent 1px 18px);
}

.sidebar {
  min-height: 64px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(6, 14, 30, 0.88), rgba(6, 14, 30, 0.68));
  border-bottom: 1px solid rgba(116, 230, 255, 0.14);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(116, 230, 255, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0 2px, transparent 3px),
    linear-gradient(135deg, var(--brand-a), var(--brand-b) 58%, var(--brand-c));
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.brand-mark::before {
  inset: 9px;
}

.brand-mark::after {
  inset: 15px;
  background: rgba(255, 255, 255, 0.36);
}

.brand-core {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
}

.brand strong {
  color: #ffffff;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.brand strong span {
  color: #8eefff;
}

.brand small {
  color: rgba(216, 235, 255, 0.58);
}

.main-nav {
  justify-content: center;
  padding: 4px;
  border: 1px solid rgba(143, 169, 208, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.main-nav a {
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
  background: linear-gradient(135deg, rgba(39, 231, 255, 0.16), rgba(54, 123, 255, 0.16));
}

.trust-panel {
  border-radius: 999px;
  background: rgba(39, 231, 255, 0.09);
}

main {
  width: min(1200px, calc(100% - 28px));
  gap: 12px;
}

.announcement-strip {
  justify-content: space-between;
  min-height: 40px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(39, 231, 255, 0.1), rgba(155, 124, 255, 0.06)),
    rgba(5, 13, 28, 0.74);
}

.announcement-strip span {
  background: linear-gradient(135deg, rgba(39, 231, 255, 0.18), rgba(54, 123, 255, 0.12));
  color: #bdf7ff;
}

.topbar {
  min-height: 520px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.5fr);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 30%, rgba(39, 231, 255, 0.14), transparent 28%),
    linear-gradient(120deg, rgba(3, 8, 18, 0.98), rgba(7, 25, 55, 0.96) 48%, rgba(31, 82, 176, 0.72)),
    #071224;
}

.topbar::after {
  background:
    linear-gradient(90deg, rgba(3, 8, 18, 0.96), rgba(3, 8, 18, 0.55), transparent),
    url("assets/proxy-network.svg") right center / 52% auto no-repeat;
  opacity: 0.5;
}

.topbar h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.hero-proof {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-proof span {
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(116, 230, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #ccecff;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-offer {
  justify-self: end;
  align-self: center;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(14, 35, 70, 0.84), rgba(4, 10, 21, 0.74));
}

.hero-console {
  right: clamp(20px, 5vw, 74px);
  bottom: 24px;
  width: min(430px, 38%);
  border-radius: 16px;
  transform: rotate(-1deg);
}

.hero-stats {
  margin-top: 0;
}

.hero-stats article {
  border-radius: 16px;
}

.store-tabs {
  position: sticky;
  top: 76px;
  z-index: 12;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 7px;
  border: 1px solid rgba(143, 169, 208, 0.12);
  border-radius: 999px;
  background: rgba(4, 10, 21, 0.72);
  backdrop-filter: blur(18px);
}

.store-tabs a {
  min-height: 34px;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  color: #bcd2e7;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.store-tabs a:hover {
  background: rgba(116, 230, 255, 0.1);
  color: #ffffff;
}

.product-card,
.feature-strip article,
.visual-band,
.reviews-grid article,
.compliance-section,
.faq-section details,
.status-panel,
.network-visual,
.checkout-panel,
.cart-panel,
.table-wrap {
  border-radius: 16px;
}

.product-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(39, 231, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 29, 58, 0.9), rgba(5, 14, 29, 0.82));
}

.site-footer {
  margin-top: 4px;
  padding: 18px 0 4px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-brand small {
  color: var(--muted);
}

.site-footer nav {
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .sidebar {
    padding-inline: 14px;
  }

  .topbar {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-offer {
    justify-self: start;
  }

  .hero-console {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 620px) {
  .main-nav {
    justify-content: start;
    overflow-x: auto;
    border-radius: 14px;
  }

  .announcement-strip {
    display: grid;
    border-radius: 16px;
  }
}

/* Neo compact premium polish */
:root {
  --ink: #f4f8ff;
  --muted: #8a9bb4;
  --line: rgba(143, 169, 208, 0.13);
  --panel: rgba(8, 16, 31, 0.74);
  --panel-soft: rgba(12, 28, 54, 0.74);
  --page: #030711;
  --green: #62d6ff;
  --green-dark: #07101d;
  --blue: #3a8dff;
  --orange: #ffb760;
  --amber: #74e6ff;
  --mint: #72e8ff;
  --danger: #ff6480;
  --violet: #9a8bff;
  --cyan: #34ecff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --shadow-tight: 0 12px 34px rgba(0, 0, 0, 0.28);
}

html {
  scroll-padding-top: 76px;
}

body {
  background:
    radial-gradient(circle at 18% 2%, rgba(58, 141, 255, 0.22), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(52, 236, 255, 0.14), transparent 22%),
    radial-gradient(circle at 50% 105%, rgba(154, 139, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #030711 0%, #06101f 48%, #030711 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(116, 230, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 230, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

body::after {
  content: "";
  position: fixed;
  inset: auto -12% -18% auto;
  width: 46vw;
  height: 46vw;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 141, 255, 0.16), transparent 68%);
  filter: blur(8px);
}

.app-shell::before,
.app-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

.app-shell::before {
  top: 92px;
  left: 5vw;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(116, 230, 255, 0.1);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(58, 141, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(116, 230, 255, 0.08) 0 1px, transparent 1px 18px);
  transform: rotate(12deg);
  filter: blur(0.2px);
  opacity: 0.7;
}

.app-shell::after {
  right: 7vw;
  top: 178px;
  width: 340px;
  height: 160px;
  border: 1px solid rgba(154, 139, 255, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 50%, rgba(52, 236, 255, 0.14), transparent 34%),
    linear-gradient(90deg, transparent, rgba(154, 139, 255, 0.08), transparent);
  transform: rotate(-10deg);
  opacity: 0.75;
}

.topbar {
  position: relative;
}

.topbar > div:first-child::before {
  content: "META ADS CONTINGENCY";
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 0 9px;
  border: 1px solid rgba(116, 230, 255, 0.18);
  border-radius: 999px;
  background: rgba(116, 230, 255, 0.08);
  color: #9beeff;
  font-size: 0.62rem;
  font-weight: 900;
}

.sidebar {
  min-height: 58px;
  padding: 9px 20px;
  background: rgba(3, 7, 17, 0.7);
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  font-size: 0.7rem;
}

.main-nav {
  gap: 4px;
}

.main-nav a {
  min-height: 30px;
  padding: 7px 9px;
  font-size: 0.78rem;
}

.trust-panel {
  min-height: 30px;
  padding: 7px 10px;
  font-size: 0.78rem;
}

main {
  width: min(1180px, calc(100% - 32px));
  gap: 14px;
  padding: 14px 0 28px;
}

.announcement-strip {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.84rem;
}

.topbar {
  min-height: 360px;
  padding: clamp(22px, 3.6vw, 38px);
  border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(3, 7, 17, 0.98), rgba(8, 26, 54, 0.94) 50%, rgba(34, 91, 190, 0.72)),
    #06101f;
}

.topbar::before {
  inset: 10px;
  border-radius: 8px;
}

.topbar::after {
  background:
    linear-gradient(90deg, rgba(3, 7, 17, 0.98), rgba(3, 7, 17, 0.58), rgba(58, 141, 255, 0.04)),
    url("assets/proxy-network.svg") right 46% / 48% auto no-repeat;
  opacity: 0.42;
}

.topbar h1 {
  max-width: 650px;
  font-size: clamp(2.1rem, 4.45vw, 4rem);
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 590px;
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 18px;
  gap: 8px;
}

.topbar-actions {
  top: 14px;
  right: 14px;
  gap: 7px;
}

.live-pill,
.topbar .icon-button,
.topbar .account-button {
  min-height: 32px;
  font-size: 0.78rem;
}

.hero-offer {
  width: min(300px, 100%);
  padding: 15px;
  gap: 8px;
  border-radius: 10px;
}

.hero-offer h2 {
  font-size: 1.18rem;
}

.hero-offer p {
  font-size: 0.84rem;
}

.offer-price strong {
  font-size: 1.72rem;
}

.primary-button,
.secondary-button,
.plan-button,
.account-button,
.icon-button {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 0.84rem;
}

.category-rail {
  gap: 7px;
}

.category-rail span {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.operations-grid,
.commerce-layout {
  gap: 10px;
}

.operations-grid {
  grid-template-columns: 0.55fr 1.45fr;
}

.status-panel,
.checkout-panel,
.cart-panel,
.support-strip,
.table-wrap,
.audience-grid article,
.flow-grid article,
.faq-section details,
.delivery-card,
.product-card,
.network-visual,
.auth-hero,
.auth-card,
.portal-header,
.portal-sidebar,
.portal-metrics article {
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12, 28, 54, 0.76), rgba(7, 16, 31, 0.72));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.27);
}

.status-panel,
.checkout-panel,
.cart-panel {
  padding: 14px;
}

.panel-title,
.metric-row span,
.audience-grid strong,
.flow-grid h3 {
  font-size: 0.84rem;
}

.metric-row {
  padding: 7px 0 8px;
}

.metric-row strong {
  font-size: 1.12rem;
}

.latency-bar {
  gap: 7px;
}

.latency-bar span {
  min-height: 27px;
  padding: 6px 8px;
  font-size: 0.76rem;
}

.network-visual,
.network-visual img {
  min-height: 270px;
}

.network-visual figcaption {
  left: 12px;
  bottom: 12px;
  min-width: 190px;
  padding: 10px 11px;
  border-radius: 9px;
}

.section-heading {
  gap: 12px;
}

.section-heading h2 {
  font-size: 1.12rem;
}

.eyebrow {
  margin-bottom: 4px;
  font-size: 0.66rem;
}

.audience-grid,
.flow-grid {
  gap: 10px;
}

.audience-grid article,
.flow-grid article {
  padding: 13px;
}

.audience-grid span,
.flow-grid p,
.faq-section p {
  font-size: 0.84rem;
}

.flow-grid article span {
  width: 30px;
  height: 30px;
  font-size: 0.78rem;
}

.filters {
  gap: 7px;
}

.search-field {
  min-width: 220px;
  height: 36px;
  padding: 0 10px;
}

.segmented {
  padding: 3px;
}

.segmented button {
  min-height: 29px;
  padding: 0 9px;
  font-size: 0.76rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-card {
  min-height: 246px;
  gap: 10px;
  padding: 14px;
}

.product-card p {
  font-size: 0.82rem;
  line-height: 1.45;
}

.type-pill,
.stock,
.status-tag {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.7rem;
}

.product-top {
  gap: 8px;
}

.product-top h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
  line-height: 1.18;
}

.feature-list li {
  gap: 6px;
  font-size: 0.78rem;
}

.feature-list .icon {
  width: 16px;
  height: 16px;
}

.price-line strong {
  font-size: 1.22rem;
}

.price-line span {
  font-size: 0.78rem;
}

.checkout-form {
  gap: 10px;
}

.checkout-form label {
  gap: 5px;
  font-size: 0.82rem;
}

.checkout-form input,
.checkout-form select {
  min-height: 38px;
}

.payment-box {
  gap: 9px;
  margin-top: 13px;
  padding: 12px;
}

.cart-items,
.delivery-grid,
.proxy-credentials,
.totals {
  gap: 8px;
}

.cart-item {
  padding: 10px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
}

.table-wrap {
  border-radius: 10px;
}

th,
td {
  padding: 10px 12px;
  font-size: 0.82rem;
}

th {
  font-size: 0.68rem;
}

.delivery-card {
  gap: 10px;
  padding: 13px;
}

.delivery-card h3 {
  font-size: 0.98rem;
}

.proxy-credentials div {
  padding: 8px;
}

.proxy-credentials dt {
  font-size: 0.65rem;
}

.proxy-credentials dd {
  font-size: 0.82rem;
}

.support-strip {
  padding: 14px;
}

.faq-section {
  gap: 10px;
}

.faq-section details {
  padding: 12px 14px;
}

.reviews-section,
.compliance-section {
  display: grid;
  gap: 12px;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 183, 96, 0.2);
  border-radius: 999px;
  background: rgba(255, 183, 96, 0.1);
  color: #ffd6a1;
  font-size: 0.78rem;
  font-weight: 900;
}

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

.reviews-grid article,
.use-grid article,
.policy-card {
  border: 1px solid rgba(143, 169, 208, 0.13);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 28, 54, 0.76), rgba(7, 16, 31, 0.72));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.27);
}

.reviews-grid article {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.stars {
  color: #ffce73;
  font-size: 0.9rem;
}

.reviews-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.reviews-grid strong {
  color: #eef6ff;
  font-size: 0.82rem;
}

.compliance-section {
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(116, 230, 255, 0.12);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 20%, rgba(52, 236, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(12, 28, 54, 0.72), rgba(7, 16, 31, 0.72));
}

.compliance-section p {
  color: var(--muted);
  line-height: 1.55;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.use-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-grid article {
  padding: 14px;
}

.use-grid span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #9beeff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.use-grid ul,
.policy-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  gap: 12px;
}

.site-footer a {
  color: #9beeff;
  text-decoration: none;
  font-weight: 800;
}

.policy-page {
  display: grid;
  gap: 18px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.policy-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 32px);
}

.policy-card h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.policy-card h2 {
  margin-top: 8px;
  font-size: 1.05rem;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.toast {
  padding: 12px 14px;
  font-size: 0.86rem;
}

.portal-shell {
  width: min(1180px, calc(100% - 32px));
  gap: 12px;
  padding-top: 14px;
}

.portal-sidebar {
  width: 230px;
  gap: 14px;
  padding: 13px;
}

.portal-nav {
  gap: 6px;
}

.portal-nav a {
  padding: 9px 10px;
  font-size: 0.82rem;
}

.portal-main {
  gap: 12px;
}

.portal-header {
  padding: 18px;
}

.portal-header h1,
.auth-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 3.4rem);
}

.portal-metrics {
  gap: 10px;
}

.portal-metrics article {
  padding: 13px;
}

.portal-metrics strong {
  font-size: 1.45rem;
}

.auth-shell {
  width: min(1040px, calc(100% - 32px));
}

.auth-hero {
  min-height: 470px;
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .operations-grid,
  .commerce-layout,
  .topbar {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .audience-grid,
  .flow-grid,
  .reviews-grid,
  .compliance-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliance-section {
    grid-template-columns: 1fr;
  }

  .hero-offer {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    min-height: auto;
    padding: 20px;
  }

  .topbar h1 {
    font-size: 2.05rem;
  }

  .product-grid,
  .audience-grid,
  .flow-grid,
  .delivery-grid,
  .proxy-credentials,
  .reviews-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

/* Blue premium redesign */
:root {
  --ink: #06111f;
  --muted: #5d6f86;
  --line: rgba(123, 156, 197, 0.22);
  --panel: #ffffff;
  --panel-soft: #eef6ff;
  --page: #eaf3ff;
  --green: #0c7ee8;
  --green-dark: #071a33;
  --blue: #1f6fff;
  --orange: #ffb25f;
  --amber: #56d6ff;
  --mint: #65e7ff;
  --danger: #d94b63;
  --violet: #6c77ff;
  --cyan: #00b8e6;
  --shadow: 0 28px 80px rgba(7, 26, 51, 0.18);
  --shadow-tight: 0 14px 36px rgba(7, 26, 51, 0.12);
}

body {
  background:
    radial-gradient(circle at 14% 4%, rgba(31, 111, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(0, 184, 230, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eaf3ff 42%, #f7fbff 100%);
}

.app-shell {
  display: block;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  height: auto;
  padding: 14px 28px;
  color: #ffffff;
  background: rgba(5, 20, 42, 0.84);
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(7, 26, 51, 0.22);
  backdrop-filter: blur(18px);
}

.brand-mark {
  background: linear-gradient(135deg, #56d6ff, #1f6fff 54%, #6c77ff);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(31, 111, 255, 0.35);
}

.brand small {
  color: rgba(255, 255, 255, 0.66);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}

.trust-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(86, 214, 255, 0.12);
  white-space: nowrap;
}

.trust-panel .icon,
.trust-panel span {
  display: none;
}

main {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 34px;
}

.announcement-strip {
  border-color: rgba(31, 111, 255, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(31, 111, 255, 0.12);
  backdrop-filter: blur(18px);
}

.announcement-strip span {
  background: #eaf4ff;
  color: var(--blue);
}

.announcement-strip a,
.eyebrow {
  color: var(--blue);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: center;
  min-height: 560px;
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(4, 18, 40, 0.98) 0%, rgba(8, 44, 97, 0.96) 42%, rgba(31, 111, 255, 0.88) 100%),
    #061a39;
  box-shadow: 0 34px 90px rgba(5, 31, 74, 0.28);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.topbar::after {
  inset: 0;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(4, 18, 40, 0.9), rgba(4, 18, 40, 0.28), rgba(31, 111, 255, 0.12)),
    url("assets/proxy-network.svg") right center / 58% auto no-repeat;
  opacity: 0.72;
}

.topbar h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 680px;
  color: rgba(239, 248, 255, 0.82);
  font-size: 1.12rem;
}

.hero-actions {
  margin-top: 28px;
}

.topbar .primary-button,
.hero-offer .plan-button {
  min-height: 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, #56d6ff, #1f6fff);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 111, 255, 0.36);
}

.secondary-button.ghost {
  min-height: 50px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.topbar-actions {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
}

.hero-offer {
  justify-self: end;
  width: min(390px, 100%);
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.09));
}

.hero-offer h2 {
  font-size: 1.65rem;
}

.offer-price strong {
  font-size: 2.45rem;
}

.category-rail span {
  min-height: 44px;
  border-color: rgba(31, 111, 255, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: #0b3a78;
}

.operations-grid {
  grid-template-columns: 0.58fr 1.42fr;
}

.status-panel,
.checkout-panel,
.cart-panel,
.support-strip,
.table-wrap,
.audience-grid article,
.flow-grid article,
.faq-section details,
.delivery-card,
.product-card {
  border-color: rgba(31, 111, 255, 0.16);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 56px rgba(7, 26, 51, 0.11);
  backdrop-filter: blur(16px);
}

.status-panel {
  background:
    linear-gradient(180deg, rgba(86, 214, 255, 0.18), rgba(255, 255, 255, 0.86) 36%);
}

.panel-title {
  color: #0b3a78;
}

.metric-row strong {
  color: #082b5a;
}

.pulse-dot {
  background: #56d6ff;
  box-shadow: 0 0 0 6px rgba(86, 214, 255, 0.18);
}

.latency-bar span {
  background: #eaf4ff;
}

.latency-bar span::before {
  background: rgba(31, 111, 255, 0.22);
}

.latency-bar span:nth-child(2)::before {
  background: rgba(0, 184, 230, 0.2);
}

.latency-bar span:nth-child(3)::before {
  background: rgba(108, 119, 255, 0.18);
}

.network-visual {
  min-height: 390px;
  border-color: rgba(31, 111, 255, 0.16);
}

.network-visual img {
  min-height: 390px;
  filter: saturate(1.12);
}

.network-visual figcaption {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.82);
}

.search-field,
.segmented {
  border-color: rgba(31, 111, 255, 0.16);
  background: rgba(255, 255, 255, 0.9);
}

.segmented button.active {
  background: linear-gradient(135deg, #1f6fff, #0b56c8);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  min-height: 330px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.95));
}

.product-card::before {
  height: 5px;
  background: linear-gradient(90deg, #56d6ff, #1f6fff, #6c77ff);
}

.type-pill,
.type-pill.isp {
  background: #eaf4ff;
  color: #0b56c8;
}

.stock {
  background: #e8f7ff;
  color: #08749c;
}

.primary-button,
.plan-button {
  background: linear-gradient(135deg, #1f6fff, #0b56c8);
  color: #ffffff;
}

.primary-button:hover,
.plan-button:hover {
  background: linear-gradient(135deg, #2e91ff, #1f6fff);
}

.checkout-panel {
  background:
    linear-gradient(180deg, rgba(31, 111, 255, 0.09), rgba(255, 255, 255, 0.88) 34%);
}

.payment-box {
  background:
    linear-gradient(135deg, rgba(31, 111, 255, 0.12), rgba(86, 214, 255, 0.12)),
    #f8fbff;
}

.flow-grid article span {
  background: linear-gradient(135deg, #1f6fff, #00b8e6);
}

.delivery-card::before {
  background: linear-gradient(180deg, #56d6ff, #1f6fff);
}

.proxy-credentials div {
  background: #eef6ff;
  border-color: rgba(31, 111, 255, 0.12);
}

th {
  background: #eef6ff;
}

.status-tag {
  background: #eaf4ff;
  color: #0b56c8;
}

.status-tag.pending {
  background: #fff5e8;
  color: #c46a16;
}

.support-strip {
  background:
    linear-gradient(110deg, rgba(4, 18, 40, 0.98), rgba(31, 111, 255, 0.88)),
    #071a33;
}

.support-strip .eyebrow {
  color: #56d6ff;
}

@media (max-width: 1240px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .sidebar {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: start;
    overflow-x: auto;
  }

  .trust-panel {
    display: none;
  }

  .topbar,
  .operations-grid {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 18px;
  }

  .hero-offer {
    justify-self: start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 28px, 1420px);
  }

  .sidebar {
    padding: 14px;
  }

  .topbar {
    padding: 24px;
    min-height: auto;
  }

  .topbar h1 {
    font-size: 2.45rem;
  }

  .topbar::after {
    background:
      linear-gradient(90deg, rgba(4, 18, 40, 0.9), rgba(4, 18, 40, 0.42)),
      url("assets/proxy-network.svg") center / cover no-repeat;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark compact visual refresh */
:root {
  --ink: #eef6ff;
  --muted: #8fa4bd;
  --line: rgba(141, 177, 224, 0.16);
  --panel: rgba(10, 23, 43, 0.78);
  --panel-soft: rgba(14, 35, 66, 0.82);
  --page: #040914;
  --green: #55c7ff;
  --green-dark: #07111f;
  --blue: #3387ff;
  --orange: #ffb35c;
  --amber: #6ee7ff;
  --mint: #76e4ff;
  --danger: #ff5d7a;
  --violet: #8d7dff;
  --cyan: #2ee8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-tight: 0 14px 38px rgba(0, 0, 0, 0.28);
}

* {
  scrollbar-color: rgba(85, 199, 255, 0.45) rgba(255, 255, 255, 0.06);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(51, 135, 255, 0.28), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(46, 232, 255, 0.18), transparent 26%),
    radial-gradient(circle at 45% 84%, rgba(141, 125, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #040914 0%, #07111f 48%, #040914 100%);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

.sidebar {
  padding: 10px 24px;
  background: rgba(4, 9, 20, 0.72);
  border-bottom: 1px solid rgba(141, 177, 224, 0.16);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2ee8ff, #3387ff 56%, #8d7dff);
  box-shadow: 0 14px 34px rgba(51, 135, 255, 0.34);
}

.brand strong {
  letter-spacing: 0;
}

.brand small {
  font-size: 0.76rem;
}

.main-nav a {
  min-height: 34px;
  padding: 8px 11px;
  color: rgba(238, 246, 255, 0.72);
  font-size: 0.86rem;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(85, 199, 255, 0.12);
  color: #ffffff;
}

.trust-panel {
  min-height: 34px;
  padding: 8px 11px;
  border-color: rgba(85, 199, 255, 0.2);
  background: rgba(85, 199, 255, 0.08);
  font-size: 0.84rem;
}

main {
  width: min(1240px, calc(100% - 36px));
  gap: 18px;
  padding: 18px 0 30px;
}

.announcement-strip {
  min-height: 38px;
  padding: 7px 12px;
  border-color: rgba(85, 199, 255, 0.16);
  background: rgba(10, 23, 43, 0.66);
  color: var(--muted);
  box-shadow: var(--shadow-tight);
}

.announcement-strip span {
  min-height: 22px;
  background: rgba(85, 199, 255, 0.12);
  color: #76e4ff;
}

.announcement-strip strong {
  color: #eef6ff;
}

.announcement-strip a {
  color: #76e4ff;
}

.topbar {
  min-height: 430px;
  padding: clamp(24px, 4vw, 46px);
  border-color: rgba(141, 177, 224, 0.18);
  background:
    linear-gradient(120deg, rgba(4, 9, 20, 0.98) 0%, rgba(8, 28, 57, 0.95) 42%, rgba(20, 72, 150, 0.82) 100%),
    #07111f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.topbar::before {
  inset: 12px;
  border-color: rgba(255, 255, 255, 0.08);
}

.topbar::after {
  background:
    linear-gradient(90deg, rgba(4, 9, 20, 0.94), rgba(4, 9, 20, 0.5), rgba(51, 135, 255, 0.08)),
    url("assets/proxy-network.svg") right center / 56% auto no-repeat;
  filter: saturate(1.2) contrast(1.05);
  opacity: 0.5;
}

.topbar h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5.2vw, 4.65rem);
  letter-spacing: -0.035em;
  line-height: 0.94;
}

h2 {
  color: #eef6ff;
  letter-spacing: -0.02em;
}

h3 {
  color: #eef6ff;
}

.eyebrow,
.topbar .eyebrow {
  color: #76e4ff;
}

.hero-copy {
  max-width: 640px;
  margin-top: 12px;
  color: rgba(238, 246, 255, 0.7);
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 22px;
}

.primary-button,
.secondary-button,
.plan-button,
.account-button,
.icon-button {
  min-height: 40px;
  border-radius: 8px;
}

.topbar .primary-button,
.hero-offer .plan-button,
.primary-button,
.plan-button {
  background: linear-gradient(135deg, #2ee8ff, #3387ff 58%, #7c6dff);
  box-shadow: 0 16px 36px rgba(51, 135, 255, 0.26);
}

.secondary-button,
.account-button,
.icon-button {
  border: 1px solid rgba(141, 177, 224, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #eef6ff;
}

.secondary-button.ghost {
  min-height: 44px;
  border-color: rgba(141, 177, 224, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.topbar-actions {
  top: 18px;
  right: 18px;
}

.live-pill {
  min-height: 36px;
  border-color: rgba(118, 228, 255, 0.28);
  background: rgba(85, 199, 255, 0.1);
  color: #dff8ff;
}

.hero-offer {
  gap: 10px;
  width: min(330px, 100%);
  padding: 18px;
  border-color: rgba(141, 177, 224, 0.2);
  background: rgba(8, 20, 38, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-offer h2 {
  font-size: 1.35rem;
}

.hero-offer p {
  color: rgba(238, 246, 255, 0.66);
  font-size: 0.92rem;
}

.offer-price strong {
  color: #ffffff;
  font-size: 2rem;
}

.category-rail {
  padding-bottom: 6px;
}

.category-rail span {
  min-height: 36px;
  border-color: rgba(85, 199, 255, 0.14);
  background: rgba(10, 23, 43, 0.72);
  color: #ccecff;
}

.operations-grid {
  grid-template-columns: 0.62fr 1.38fr;
  gap: 14px;
}

.status-panel,
.checkout-panel,
.cart-panel,
.support-strip,
.table-wrap,
.audience-grid article,
.flow-grid article,
.faq-section details,
.delivery-card,
.product-card,
.network-visual {
  border-color: rgba(141, 177, 224, 0.16);
  background: rgba(8, 20, 38, 0.72);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(18px);
}

.status-panel {
  gap: 9px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(51, 135, 255, 0.14), rgba(8, 20, 38, 0.72) 42%);
}

.panel-title {
  color: #dff8ff;
}

.metric-row {
  padding: 9px 0 10px;
}

.metric-row span,
.product-card p,
.delivery-card p,
.flow-grid p,
.faq-section p,
.audience-grid span,
.cart-item-top span,
.price-line span,
.proxy-credentials dt,
.totals dt {
  color: var(--muted);
}

.metric-row strong {
  color: #eef6ff;
  font-size: 1.28rem;
}

.latency-bar span {
  min-height: 30px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #dff8ff;
}

.network-visual {
  min-height: 320px;
  background: rgba(8, 20, 38, 0.72);
}

.network-visual img {
  min-height: 320px;
  opacity: 0.88;
  mix-blend-mode: screen;
}

.network-visual figcaption {
  background: rgba(4, 9, 20, 0.72);
  border-color: rgba(141, 177, 224, 0.2);
}

.network-visual figcaption span {
  color: var(--muted);
}

.audience-grid,
.flow-grid {
  gap: 12px;
}

.audience-grid article,
.flow-grid article {
  min-height: auto;
  padding: 15px;
}

.flow-grid article span {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2ee8ff, #3387ff);
}

.filters {
  gap: 8px;
}

.search-field,
.segmented,
.checkout-form input,
.checkout-form select,
.payment-box code {
  border-color: rgba(141, 177, 224, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #eef6ff;
}

.search-field input {
  color: #eef6ff;
}

.search-field input::placeholder {
  color: rgba(143, 164, 189, 0.78);
}

.segmented button {
  color: var(--muted);
}

.segmented button.active {
  background: rgba(85, 199, 255, 0.14);
  color: #ffffff;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  min-height: 286px;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(13, 33, 62, 0.9), rgba(8, 20, 38, 0.78));
}

.product-card::before {
  height: 3px;
  background: linear-gradient(90deg, #2ee8ff, #3387ff, #8d7dff);
}

.product-card:hover {
  border-color: rgba(85, 199, 255, 0.34);
  box-shadow: 0 22px 62px rgba(51, 135, 255, 0.16);
}

.product-top {
  gap: 10px;
}

.type-pill,
.type-pill.isp,
.stock,
.status-tag {
  background: rgba(85, 199, 255, 0.12);
  color: #9beeff;
}

.stock {
  white-space: nowrap;
}

.feature-list {
  gap: 6px;
}

.feature-list li {
  color: #bcd2e7;
  font-size: 0.86rem;
}

.price-line strong {
  color: #ffffff;
  font-size: 1.45rem;
}

.commerce-layout {
  gap: 14px;
}

.checkout-panel,
.cart-panel {
  padding: 16px;
}

.payment-box {
  background: rgba(51, 135, 255, 0.08);
}

.checkout-form label {
  color: #c8dcf2;
}

.cart-item {
  border-color: rgba(141, 177, 224, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.quantity-controls button {
  border-color: rgba(141, 177, 224, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #eef6ff;
}

.delivery-grid {
  gap: 12px;
}

.delivery-card {
  padding: 16px;
}

.proxy-credentials {
  gap: 8px;
}

.proxy-credentials div {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(141, 177, 224, 0.12);
}

.proxy-credentials dd {
  color: #eef6ff;
}

table {
  background: transparent;
}

th {
  background: rgba(255, 255, 255, 0.055);
  color: #9fb4cd;
}

td {
  color: #dcecff;
}

.status-tag.pending {
  background: rgba(255, 179, 92, 0.12);
  color: #ffd6a1;
}

.support-strip {
  padding: 16px;
  background:
    linear-gradient(120deg, rgba(10, 23, 43, 0.86), rgba(20, 72, 150, 0.62)),
    rgba(8, 20, 38, 0.72);
}

.faq-section details {
  padding: 14px 16px;
}

.toast {
  background: rgba(8, 20, 38, 0.94);
  border: 1px solid rgba(85, 199, 255, 0.2);
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .hero-offer {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .sidebar {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: start;
    overflow-x: auto;
  }

  .trust-panel {
    display: none;
  }

  .operations-grid,
  .commerce-layout {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .audience-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 24px, 1240px);
    gap: 14px;
  }

  .topbar {
    padding: 22px;
  }

  .topbar h1 {
    font-size: 2.28rem;
  }

  .topbar-actions {
    display: flex;
  }

  .product-grid,
  .audience-grid,
  .flow-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }
}
.operational-section[hidden],
.checkout-modal[hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr) !important;
  gap: 18px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(18px, 4vw, 42px);
  overflow: auto;
  background:
    radial-gradient(circle at 20% 10%, rgba(26, 115, 255, 0.24), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(0, 213, 255, 0.18), transparent 26%),
    rgba(3, 7, 18, 0.76);
  backdrop-filter: blur(18px);
}

.checkout-modal .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.checkout-modal .checkout-panel,
.checkout-modal .cart-panel {
  position: relative;
  z-index: 1;
  max-height: calc(100vh - 84px);
  overflow: auto;
  border: 1px solid rgba(91, 159, 255, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.checkout-modal .checkout-panel {
  max-width: 720px;
  justify-self: end;
}

.checkout-modal .cart-panel {
  max-width: 460px;
  justify-self: start;
}

.checkout-modal .section-heading.compact {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 900px) {
  .checkout-modal {
    grid-template-columns: 1fr !important;
    padding: 14px;
  }

  .checkout-modal .checkout-panel,
  .checkout-modal .cart-panel {
    justify-self: stretch;
    max-width: none;
    max-height: none;
  }
}
