:root {
  --bg: #0d0f14;
  --panel: #171a22;
  --panel-2: #20242e;
  --line: #303645;
  --text: #f3f6fb;
  --muted: #a9b1c1;
  --soft: #778199;
  --primary: #5d7cff;
  --primary-2: #23c982;
  --danger: #ef6464;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --radius: 18px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 124, 255, .18), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(35, 201, 130, .12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(13, 15, 20, .78);
  backdrop-filter: blur(20px);
}

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

.brand-mark,
.icon-tile {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: linear-gradient(145deg, #303746, #171b24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 800;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.header-action,
.primary-btn,
.secondary-btn,
.text-btn {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.header-action,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.header-action:hover,
.secondary-btn:hover {
  border-color: rgba(93, 124, 255, .68);
  background: rgba(93, 124, 255, .16);
}

.danger-action:hover {
  border-color: rgba(239, 100, 100, .58);
  background: rgba(239, 100, 100, .12);
  color: #ffb1b1;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--primary), #7b93ff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(93, 124, 255, .28);
}

.primary-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #6c87ff, #8ca0ff);
}

.secondary-btn.full,
.primary-btn.full {
  width: 100%;
}

.text-btn {
  width: 100%;
  background: transparent;
  color: var(--muted);
}

.text-btn:hover {
  color: var(--danger);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 72px clamp(20px, 5vw, 72px) 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8da1ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
}

.product-stage {
  position: relative;
}

.ae-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: linear-gradient(180deg, #242834, #151820);
  box-shadow: var(--shadow);
}

.ae-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 13px;
}

.ae-title div {
  display: flex;
  gap: 8px;
}

.ae-title i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555f74;
}

.tool-card {
  margin: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: #1e222c;
}

.tool-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tool-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.curve-preview {
  position: relative;
  height: 260px;
  overflow: hidden;
  border: 1px solid #2d3542;
  border-radius: 12px;
  background:
    linear-gradient(#28303b 1px, transparent 1px),
    linear-gradient(90deg, #28303b 1px, transparent 1px),
    #11151c;
  background-size: 25% 25%;
}

.curve-preview::before {
  content: "";
  position: absolute;
  inset: 20px 26px;
  border-left: 1px solid #556070;
  border-bottom: 1px solid #556070;
  opacity: .55;
}

.curve-line {
  position: absolute;
  inset: 38px 28px 34px 28px;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
  border-radius: 0 0 74% 0;
  box-shadow: 28px 116px 0 -24px var(--primary-2), 0 0 0 999px transparent;
}

.curve-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 4px solid var(--primary-2);
  border-right: 4px solid var(--primary-2);
  border-radius: 0 0 96% 0;
  transform: skew(-12deg) rotate(-4deg);
  transform-origin: left bottom;
}

.handle {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 6px rgba(35, 201, 130, .14), 0 8px 22px rgba(35, 201, 130, .28);
}

.h1 {
  left: 30%;
  top: 22%;
}

.h2 {
  right: 24%;
  bottom: 28%;
}

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

.preset-grid span,
.mini-tools span {
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #2a2f3c;
  color: #dbe2ef;
  text-align: center;
  font-size: 13px;
}

.mini-tools {
  margin: 0 18px 18px;
}

.section,
.pricing {
  padding: 80px clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2,
.pricing h2 {
  max-width: 760px;
}

.section-head p:last-child,
.pricing p {
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-grid article,
.steps article,
.price-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: #8da1ff;
  font-weight: 800;
}

.feature-grid p,
.steps p {
  color: var(--muted);
  line-height: 1.75;
}

.workflow {
  background: rgba(255, 255, 255, .025);
}

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

.steps article {
  padding: 22px;
}

.steps b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 10px;
  background: rgba(93, 124, 255, .18);
  color: #b6c3ff;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
}

.price-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(93, 124, 255, .18), rgba(255, 255, 255, .05));
}

.price-card small {
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 44px;
}

.price-card ul {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 2;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 34px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 14px;
}

.account-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(23, 30, 49, .72), rgba(5, 8, 13, .92) 38%, rgba(7, 20, 18, .78));
}

.account-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(15, 18, 26, .72);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
}

.account-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 0;
}

.account-hero .hero-text {
  max-width: 720px;
  margin: 0;
}

.account-toolbar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.page-message {
  margin: 0 0 16px;
  padding: 0 4px;
}

.dashboard-summary {
  margin-bottom: 16px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: start;
}

.account-license {
  grid-column: 1 / -1;
}

.account-table-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(17, 20, 29, .76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.account-table-card .mini-head h2 {
  margin: 0;
  font-size: 18px;
}

.account-list {
  min-height: 328px;
  max-height: 520px;
}

.auth-dialog {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: #181c25;
  color: var(--text);
  box-shadow: var(--shadow);
}

.auth-dialog::backdrop {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(10px);
}

.dialog-close-row {
  position: absolute;
  top: 12px;
  right: 12px;
}

.dialog-close-row button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}

.auth-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.muted {
  color: var(--muted);
  line-height: 1.7;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: #10131a;
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
}

.auth-tabs button.active {
  background: #303853;
  color: #fff;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: #0f1218;
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

input:focus {
  border-color: rgba(93, 124, 255, .8);
  box-shadow: 0 0 0 4px rgba(93, 124, 255, .16);
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: end;
}

.code-row button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: #2a3140;
  color: var(--text);
}

.message {
  min-height: 22px;
  margin: 0;
  color: #9fb0ff;
  font-size: 13px;
}

.account-box {
  display: grid;
  gap: 14px;
  margin-top: 2px;
  padding-top: 4px;
}

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

.account-summary article,
.license-panel,
.account-sections section,
.data-row {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.account-summary article {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 76px;
  padding: 16px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.account-summary small,
.license-panel small,
.data-row small {
  color: var(--muted);
  font-size: 12px;
}

.account-summary strong,
.license-panel strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.license-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .32fr);
  gap: 18px;
  min-height: 84px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(93, 124, 255, .12), rgba(35, 201, 130, .08)),
    rgba(255, 255, 255, .04);
}

.license-panel div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.license-panel code {
  overflow: hidden;
  color: #c9d3ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr 110px;
  gap: 10px;
}

.account-actions .text-btn {
  border: 1px solid rgba(239, 100, 100, .35);
  color: #ff9a9a;
}

.account-actions .text-btn:hover {
  background: rgba(239, 100, 100, .12);
}

.account-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-sections section {
  overflow: hidden;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.mini-head h2,
.mini-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.text-link {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: #9fb0ff;
  font-size: 12px;
}

.text-link:hover {
  color: #fff;
}

.list-box {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 250px;
  overflow: auto;
  padding: 12px;
  scrollbar-color: rgba(125, 145, 210, .7) rgba(255, 255, 255, .06);
  scrollbar-width: thin;
}

.list-box::-webkit-scrollbar {
  width: 8px;
}

.list-box::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
}

.list-box::-webkit-scrollbar-thumb {
  border: 2px solid rgba(17, 20, 29, .9);
  border-radius: 999px;
  background: rgba(125, 145, 210, .76);
}

.data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  padding: 16px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.data-row:hover {
  border-color: rgba(159, 176, 255, .34);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-1px);
}

.data-row div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.data-row strong,
.data-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-row > div:first-child {
  grid-column: 1;
  grid-row: 1;
}

.data-row > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  justify-items: end;
  text-align: right;
}

.data-row > div:nth-child(3) {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--muted);
}

.pill {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pill-paid,
.pill-active {
  background: rgba(35, 201, 130, .16);
  color: #72e8ae;
}

.pill-pending {
  background: rgba(255, 188, 72, .16);
  color: #ffd38a;
}

.pill-disabled {
  background: rgba(239, 100, 100, .16);
  color: #ff9a9a;
}

.row-link {
  grid-column: 1 / -1;
  width: fit-content;
  color: #9fb0ff;
  font-size: 13px;
}

.row-link:hover {
  color: #fff;
}

.empty-text {
  margin: 0;
  display: grid;
  min-height: 218px;
  place-items: center;
  padding: 28px 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.device-actions {
  display: flex !important;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.row-danger {
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(239, 100, 100, .42);
  border-radius: 9px;
  background: rgba(239, 100, 100, .1);
  color: #ff9a9a;
  font-size: 12px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.row-danger:hover {
  border-color: rgba(239, 100, 100, .78);
  background: rgba(239, 100, 100, .18);
  color: #ffd0d0;
  transform: translateY(-1px);
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .pricing {
    grid-template-columns: 1fr;
  }

  .product-stage {
    order: -1;
  }

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

  .account-hero,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-toolbar {
    flex-wrap: wrap;
  }

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

  .license-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 40px;
  }

  .feature-grid,
  .steps,
  .preset-grid,
  .mini-tools {
    grid-template-columns: 1fr;
  }

  .curve-preview {
    height: 210px;
  }

  .code-row {
    grid-template-columns: 1fr;
  }

  .account-summary,
  .license-panel,
  .account-actions,
  .account-sections {
    grid-template-columns: 1fr;
  }

  .account-main {
    width: min(100% - 24px, 1240px);
    padding-top: 24px;
  }

  .account-hero {
    padding: 20px;
  }

  .account-toolbar,
  .account-toolbar button {
    width: 100%;
  }

  .data-row {
    grid-template-columns: 1fr;
  }

  .data-row > div:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
    justify-items: start;
    text-align: left;
  }

  .data-row > div:nth-child(3) {
    grid-template-columns: 1fr;
  }
}

/* 2026-07 deep marketing overhaul */
.marketing-page {
  overflow-x: hidden;
  background: #070a10;
}

.page-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-ambient span {
  position: absolute;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .28;
  animation: ambientFloat 16s ease-in-out infinite alternate;
}

.page-ambient span:nth-child(1) { left: -12vw; top: 8vh; background: #536dff; }
.page-ambient span:nth-child(2) { right: -10vw; top: 16vh; background: #14d18c; animation-delay: -5s; }
.page-ambient span:nth-child(3) { left: 30vw; bottom: -24vw; background: #7a5cff; animation-delay: -9s; }

@keyframes ambientFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
}

.pro-header {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  background: rgba(7, 10, 16, .76);
}

.pro-header .nav-links {
  justify-content: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-buy {
  min-height: 42px;
  box-shadow: 0 10px 26px rgba(93, 124, 255, .26);
}

.pro-hero {
  position: relative;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 80px);
  padding-top: clamp(64px, 8vw, 118px);
  place-items: center;
  text-align: center;
}

.pro-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: min(76vw, 980px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
}

.pro-hero h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
  font-size: clamp(52px, 7vw, 102px);
  line-height: .98;
  text-wrap: balance;
}

.pro-hero .hero-copy {
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
}

.pro-hero .hero-text {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pro-hero .hero-actions {
  justify-content: center;
}

.hero-copy .eyebrow,
.section-head .eyebrow,
.lab-card .eyebrow,
.security-section .eyebrow,
.pro-pricing .eyebrow {
  color: #91a4ff;
}

.hero-buy {
  min-height: 52px;
  padding: 0 26px;
  font-size: 17px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 12px;
  margin-top: 34px;
  justify-content: center;
}

.hero-metrics article {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 28px;
}

.hero-metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.pro-stage {
  perspective: 1200px;
}

.live-panel {
  position: relative;
  transform: rotateY(-8deg) rotateX(4deg);
  animation: panelDrift 7s ease-in-out infinite alternate;
}

@keyframes panelDrift {
  from { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  to { transform: rotateY(-4deg) rotateX(2deg) translateY(-14px); }
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(125, 148, 255, .18);
  border-radius: 50%;
  transform: rotateX(72deg) rotateZ(20deg);
  animation: orbitSpin 18s linear infinite;
}

.orbit-ring.r2 {
  inset: 18%;
  border-color: rgba(35, 201, 130, .2);
  animation-duration: 12s;
  animation-direction: reverse;
}

@keyframes orbitSpin { to { transform: rotateX(72deg) rotateZ(380deg); } }

.panel-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px 18px 0;
}

.panel-tabs button {
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: #cfd6e6;
}

.panel-tabs .active {
  background: rgba(93,124,255,.22);
  color: #fff;
}

.pro-curve .curve-path {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 16%;
  height: 74%;
  border-right: 4px solid #24d28f;
  border-bottom: 4px solid #24d28f;
  border-radius: 0 0 92% 0;
  transform: skew(-12deg);
  box-shadow: 0 0 28px rgba(36,210,143,.22);
}

.curve-label {
  position: absolute;
  bottom: 10px;
  color: #9fb0ff;
  font-size: 12px;
}

.curve-label.in { left: 16px; }
.curve-label.out { right: 16px; }

.floating-chip {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(10, 14, 22, .78);
  color: #dfe6f5;
  font-size: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.36);
  animation: chipFloat 4s ease-in-out infinite alternate;
}

.floating-chip.c1 { left: -22px; top: 26%; }
.floating-chip.c2 { right: -18px; bottom: 24%; animation-delay: -1.6s; }
@keyframes chipFloat { to { transform: translateY(-12px); } }

.strip-section {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
}

.strip-track {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.strip-track span {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #cbd3e5;
}

.suite-section .section-head p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.8;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(93,124,255,.2), transparent 46%);
  opacity: 0;
  transition: opacity .22s ease;
}

.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }
.feature-card.wide { grid-column: span 3; min-height: auto; }

.feature-card ul,
.lab-card ul,
.pro-price-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card li,
.lab-card li,
.pro-price-card li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  color: #d6dded;
  line-height: 1.55;
}

.feature-card li::before,
.lab-card li::before,
.pro-price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24d28f;
  box-shadow: 0 0 14px rgba(36,210,143,.6);
}

.lab-section {
  background: linear-gradient(180deg, rgba(93,124,255,.07), rgba(255,255,255,.025));
}

.compact-head {
  max-width: 820px;
}

.lab-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.lab-menu,
.lab-card,
.security-section,
.pro-price-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.lab-menu {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.lab-menu button {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #dbe2ef;
}

.lab-menu button.active,
.lab-menu button:hover {
  border-color: rgba(93,124,255,.64);
  background: rgba(93,124,255,.2);
  color: #fff;
}

.lab-card {
  min-height: 286px;
  padding: clamp(24px, 4vw, 44px);
}

.lab-card h3 {
  max-width: 680px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.lab-card p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.pro-steps article {
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.pro-steps article:hover {
  transform: translateY(-6px);
  border-color: rgba(93,124,255,.4);
  background: rgba(93,124,255,.08);
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 32px;
  align-items: center;
  margin: 40px clamp(20px, 5vw, 72px);
  padding: clamp(28px, 5vw, 54px);
}

.security-section p {
  color: var(--muted);
  line-height: 1.8;
}

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

.security-grid span {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(0,0,0,.16);
  color: #dfe6f5;
}

.pro-pricing {
  padding-top: 52px;
}

.pro-price-card {
  transform: translateY(0);
  transition: transform .22s ease, border-color .22s ease;
}

.pro-price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35,201,130,.38);
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pro-hero .reveal-up {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1100px) {
  .pro-hero,
  .security-section,
  .lab-layout {
    grid-template-columns: 1fr;
  }
  .deep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card.wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .pro-header {
    grid-template-columns: 1fr auto;
  }
  .pro-header .nav-links { display: none; }
  .nav-actions { justify-content: flex-end; }
  .nav-buy { display: none; }
  .pro-hero h1 { font-size: 44px; }
  .hero-metrics,
  .deep-grid,
  .security-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: auto; }
  .floating-chip { display: none; }
}

/* 2026-08 premium website refresh */
.screenshot-hero {
  align-self: stretch;
}

.screenshot-stack {
  position: relative;
  min-height: 680px;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(40, 44, 56, .94), rgba(13, 16, 23, .94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.screen-card img {
  display: block;
  width: 100%;
  height: auto;
}

.main-screen {
  position: relative;
  z-index: 2;
  width: min(470px, 86vw);
  margin-left: auto;
  transform: rotateY(-8deg) rotateX(3deg);
  transform-origin: center;
  animation: panelDrift 7s ease-in-out infinite alternate;
}

.main-screen figcaption {
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #dfe6f5;
  font-size: 13px;
}

.float-screen {
  position: absolute;
  z-index: 3;
  width: 230px;
}

.curve-shot {
  left: 0;
  top: 24%;
  transform: rotate(-4deg);
}

.elastic-shot {
  right: -18px;
  bottom: 8%;
  width: 250px;
  transform: rotate(4deg);
}

.hero-chip-row {
  position: absolute;
  left: 8%;
  bottom: 2%;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(8, 12, 18, .76);
  color: #d9e1f2;
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.screenshot-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(93, 124, 255, .045)),
    rgba(255, 255, 255, .015);
}

.screenshot-section .section-head {
  opacity: 1;
  transform: none;
}

.screens-grid {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.screen-feature {
  position: relative;
  display: grid;
  flex: 0 0 clamp(220px, 18vw, 300px);
  grid-template-rows: 420px auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 147, 255, .34);
  border-radius: 22px;
  background:
    radial-gradient(420px circle at 50% 14%, rgba(93, 124, 255, .16), transparent 55%),
    rgba(255, 255, 255, .045);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.screens-grid .screen-feature {
  opacity: 1;
  transform: none;
}

.screen-feature:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(145, 164, 255, .82);
  background: rgba(255, 255, 255, .065);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, .36),
    0 0 0 1px rgba(35, 201, 130, .18),
    0 0 36px rgba(93, 124, 255, .28),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}

.screen-feature img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 20px 18px 0;
  object-fit: contain;
  object-position: top center;
  filter: saturate(1.04) contrast(1.02);
  transition: transform .28s ease, filter .28s ease;
}

.screen-feature:hover img {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.06);
}

.screen-feature figcaption {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 11, 17, .78);
}

.screen-feature b {
  color: #fff;
}

.screen-feature span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.matrix-section {
  padding-top: 46px;
  background: rgba(0, 0, 0, .12);
}

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

.matrix-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(93, 124, 255, .1), transparent 58%),
    rgba(255, 255, 255, .04);
  transition: transform .2s ease, border-color .2s ease;
}

.matrix-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 201, 130, .34);
}

.matrix-grid h3 {
  margin-bottom: 8px;
}

.matrix-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.install-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(93, 124, 255, .055)),
    rgba(255, 255, 255, .012);
}

.install-section.reveal-up,
.install-section .reveal-up {
  opacity: 1;
  transform: none;
}

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

.guide-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background:
    radial-gradient(520px circle at 12% 0%, rgba(93, 124, 255, .18), transparent 48%),
    rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.guide-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 201, 130, .54), transparent);
}

.guide-card > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(145, 164, 255, .2);
  border-radius: 999px;
  background: rgba(93, 124, 255, .12);
  color: #aebcff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-card h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.guide-card ol {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-card li {
  position: relative;
  min-height: 34px;
  padding-left: 46px;
  color: #d9e1f2;
  line-height: 1.65;
  counter-increment: guide-step;
}

.guide-card li::before {
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #9fb0ff;
  font-size: 12px;
  font-weight: 800;
}

.guide-download {
  color: #fff;
}

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

.quick-guide article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(0, 0, 0, .18);
}

.quick-guide b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(35, 201, 130, .14);
  color: #72e8ae;
  font-size: 12px;
}

.quick-guide span {
  color: #dfe6f5;
  font-size: 14px;
}

.price-download {
  margin-top: 10px;
}

.download-section {
  background:
    radial-gradient(720px circle at 16% 10%, rgba(93, 124, 255, .16), transparent 56%),
    radial-gradient(520px circle at 86% 36%, rgba(35, 201, 130, .12), transparent 52%),
    rgba(255, 255, 255, .018);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 22px;
  align-items: center;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: rgba(15, 18, 26, .72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .055);
}

.download-panel p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.8;
}

.download-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(145, 164, 255, .2);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(93, 124, 255, .16), rgba(255, 255, 255, .045) 62%),
    rgba(255, 255, 255, .04);
}

.download-card small,
.download-inner small {
  color: var(--muted);
  font-size: 12px;
}

.download-card strong {
  font-size: 24px;
}

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

.download-actions {
  display: grid;
  gap: 10px;
}

.extract-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(35, 201, 130, .28);
  border-radius: 14px;
  background: rgba(35, 201, 130, .08);
}

.copy-code-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.account-copy-row {
  justify-content: space-between;
  width: 100%;
}

.copy-code-btn {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(145, 164, 255, .24);
  border-radius: 9px;
  background: rgba(93, 124, 255, .14);
  color: #dfe6ff;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.copy-code-btn:hover {
  border-color: rgba(35, 201, 130, .62);
  background: rgba(35, 201, 130, .16);
  color: #c8ffdf;
  transform: translateY(-1px);
}

.extract-code span {
  color: var(--muted);
}

.extract-code code,
.download-inner code {
  font-family: "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

.extract-code code {
  color: #72e8ae;
  font-size: 18px;
  font-weight: 800;
}

.account-download-card {
  grid-column: 1 / -1;
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .34fr);
  gap: 16px;
  padding: 18px;
}

.download-inner > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.download-inner strong,
.download-inner code {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-download-actions,
.download-inner .muted {
  grid-column: 1 / -1;
}

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

@media (max-width: 1180px) {
  .screenshot-stack {
    min-height: 600px;
  }

  .float-screen {
    width: 210px;
  }

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

  .screen-feature {
    flex-basis: clamp(260px, 42vw, 420px);
    grid-template-rows: 500px auto;
  }

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

@media (max-width: 720px) {
  .screenshot-stack {
    min-height: auto;
  }

  .main-screen {
    width: 100%;
    transform: none;
    animation: none;
  }

  .float-screen,
  .hero-chip-row {
    display: none;
  }

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

  .screen-feature {
    flex-basis: min(82vw, 360px);
    grid-template-rows: 460px auto;
  }

  .screens-grid {
    gap: 14px;
  }

  .guide-layout,
  .quick-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .download-panel,
  .download-inner,
  .account-download-actions {
    grid-template-columns: 1fr;
  }
}
