:root {
  --phax-bg: #040914;
  --phax-bg-2: #071426;
  --phax-panel: rgba(10, 25, 47, 0.72);
  --phax-panel-strong: rgba(11, 31, 58, 0.88);
  --phax-line: rgba(125, 211, 252, 0.2);
  --phax-line-strong: rgba(56, 189, 248, 0.55);
  --phax-text: #e6f1ff;
  --phax-muted: #9fb4c8;
  --phax-subtle: #6b8197;
  --phax-cyan: #38bdf8;
  --phax-blue: #2563eb;
  --phax-neon: #5eead4;
  --phax-amber: #f59e0b;
  --phax-red: #ef4444;
  --phax-green: #22c55e;
  --phax-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --phax-glow: 0 0 34px rgba(56, 189, 248, 0.32);
  --phax-radius: 24px;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body.phax-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 8%, rgba(37, 99, 235, 0.24), transparent 28rem),
    radial-gradient(circle at 82% 16%, rgba(20, 184, 166, 0.18), transparent 26rem),
    linear-gradient(140deg, #030711 0%, #061226 46%, #02050d 100%);
  color: var(--phax-text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

.phax-site,
.phax-site * {
  box-sizing: border-box;
}

.phax-site {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.phax-site a {
  color: inherit;
  text-decoration: none;
}

.phax-bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  pointer-events: none;
}

.phax-main,
.phax-header,
.phax-footer {
  position: relative;
  z-index: 1;
}

.phax-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.phax-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(18px);
}

.phax-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.phax-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.phax-logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(94, 234, 212, 0.1)),
    rgba(8, 21, 40, 0.9);
  box-shadow: var(--phax-glow);
  color: #dffcff;
  font-size: 15px;
}

.phax-logo small {
  display: block;
  margin-top: 2px;
  color: var(--phax-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.phax-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phax-nav-link {
  position: relative;
  border-radius: 999px;
  padding: 10px 13px;
  color: #bdd1e6;
  font-size: 14px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.phax-nav-link:hover,
.phax-nav-link.is-active {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.2);
}

.phax-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 14px;
  background: rgba(8, 20, 38, 0.82);
  color: #d9f7ff;
}

.phax-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.phax-section {
  padding: 86px 0;
}

.phax-section.tight {
  padding: 58px 0;
}

.phax-section-head {
  display: grid;
  max-width: 780px;
  gap: 16px;
  margin-bottom: 34px;
}

.phax-section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.phax-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(10, 25, 47, 0.58);
  color: var(--phax-neon);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phax-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--phax-neon);
  box-shadow: 0 0 18px var(--phax-neon);
  content: "";
}

.phax-kicker {
  color: var(--phax-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.phax-title {
  margin: 0;
  color: #f4fbff;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.phax-title .phax-gradient {
  background: linear-gradient(90deg, #ffffff 0%, #88ddff 36%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phax-section-title {
  margin: 0;
  color: #f4fbff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.phax-lead,
.phax-section-text {
  margin: 0;
  color: var(--phax-muted);
  font-size: 17px;
  line-height: 1.8;
}

.phax-lead {
  max-width: 730px;
  font-size: clamp(17px, 2.4vw, 21px);
}

.phax-hero {
  padding: 90px 0 74px;
}

.phax-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 44px;
}

.phax-hero-copy {
  display: grid;
  gap: 24px;
}

.phax-hero-actions,
.phax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.phax-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  padding: 13px 20px;
  color: #eaf9ff;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.phax-button.primary {
  border-color: rgba(94, 234, 212, 0.45);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(14, 165, 233, 0.74));
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.32);
}

.phax-button.secondary {
  background: rgba(10, 25, 47, 0.68);
}

.phax-button:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 234, 212, 0.7);
  box-shadow: 0 18px 46px rgba(56, 189, 248, 0.22);
}

.phax-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--phax-cyan);
}

.phax-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.phax-metric {
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 18px;
  padding: 16px;
  background: rgba(10, 25, 47, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phax-metric strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
}

.phax-metric span {
  color: var(--phax-subtle);
  font-size: 12px;
}

.phax-panel,
.phax-card,
.phax-module-card {
  border: 1px solid rgba(125, 211, 252, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 35, 63, 0.74), rgba(7, 18, 35, 0.66)),
    rgba(6, 16, 31, 0.68);
  box-shadow:
    var(--phax-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.phax-card,
.phax-module-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--phax-radius);
  padding: 24px;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.phax-card::before,
.phax-module-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 16%, rgba(56, 189, 248, 0.12), transparent 42%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
  content: "";
  pointer-events: none;
}

.phax-card:hover,
.phax-module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(94, 234, 212, 0.38);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), 0 0 42px rgba(56, 189, 248, 0.16);
}

.phax-card:hover::before,
.phax-module-card:hover::before {
  transform: translateX(120%);
}

.phax-card h3,
.phax-module-card h3 {
  margin: 16px 0 10px;
  color: #f4fbff;
  font-size: 21px;
}

.phax-card p,
.phax-module-card p,
.phax-card li,
.phax-module-card li {
  color: var(--phax-muted);
  line-height: 1.72;
}

.phax-card p,
.phax-module-card p {
  margin: 0;
}

.phax-card ul,
.phax-module-card ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 18px;
}

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

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

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

.phax-hologram {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 32px;
  padding: 26px;
}

.phax-hologram::after {
  position: absolute;
  inset: auto -18% -34% -18%;
  height: 48%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.32), transparent 68%);
  content: "";
  filter: blur(10px);
}

.phax-orbit {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 999px;
  animation: phaxSpin 18s linear infinite;
}

.phax-orbit:nth-child(2) {
  inset: 22% 7%;
  transform: rotate(36deg);
  animation-duration: 25s;
}

.phax-orbit:nth-child(3) {
  inset: 7% 25%;
  transform: rotate(-24deg);
  animation-duration: 32s;
}

.phax-core-screen {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 468px;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 26px;
  padding: 20px;
  background: rgba(3, 11, 24, 0.76);
}

.phax-screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.phax-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 999px;
  padding: 8px 11px;
  color: #bffef5;
  font-size: 12px;
}

.phax-status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phax-neon);
  box-shadow: 0 0 12px var(--phax-neon);
  content: "";
}

.phax-scan {
  position: absolute;
  right: 20px;
  left: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.95), transparent);
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.8);
  animation: phaxScan 5s ease-in-out infinite;
}

.phax-risk-ring {
  display: grid;
  width: min(310px, 82%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  align-self: center;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, rgba(34, 197, 94, 0.85), rgba(245, 158, 11, 0.85), rgba(239, 68, 68, 0.9), rgba(37, 99, 235, 0.78), rgba(34, 197, 94, 0.85)),
    radial-gradient(circle, #071426 0 54%, transparent 55%);
  box-shadow:
    inset 0 0 70px rgba(3, 7, 18, 0.78),
    0 0 55px rgba(56, 189, 248, 0.22);
}

.phax-risk-ring strong {
  display: grid;
  width: 63%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(3, 8, 18, 0.9);
  color: #ffffff;
  font-size: 36px;
  letter-spacing: -0.05em;
}

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

.phax-mini-tile {
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 16px;
  padding: 12px;
  background: rgba(10, 25, 47, 0.66);
}

.phax-mini-tile span {
  color: var(--phax-subtle);
  font-size: 11px;
}

.phax-mini-tile strong {
  display: block;
  margin-top: 6px;
  color: #f4fbff;
}

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

.phax-flow-card {
  position: relative;
  min-height: 190px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 24px;
  padding: 22px;
  background: rgba(7, 18, 35, 0.78);
}

.phax-flow-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.85), rgba(94, 234, 212, 0.2));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  content: "";
}

.phax-flow-index {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--phax-cyan);
  font-weight: 900;
}

.phax-flow-card h3 {
  margin: 18px 0 9px;
  color: #f4fbff;
}

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

.phax-feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 28px;
  margin-top: 24px;
}

.phax-feature-split.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.phax-feature-copy {
  display: grid;
  gap: 16px;
}

.phax-feature-copy h2 {
  margin: 0;
  color: #f4fbff;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.025em;
}

.phax-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phax-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--phax-muted);
  line-height: 1.7;
}

.phax-check-list li::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--phax-neon);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.65);
  content: "";
}

.phax-browser,
.phax-phone,
.phax-architecture,
.phax-risk-panel,
.phax-form-panel {
  overflow: hidden;
  border-radius: 28px;
}

.phax-browser-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.14);
  padding: 14px 16px;
  background: rgba(2, 8, 19, 0.58);
}

.phax-dots {
  display: flex;
  gap: 7px;
}

.phax-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8;
  opacity: 0.85;
}

.phax-dots span:nth-child(2) {
  background: #f59e0b;
}

.phax-dots span:nth-child(3) {
  background: #22c55e;
}

.phax-browser-body {
  padding: 18px;
}

.phax-data-grid {
  display: grid;
  gap: 10px;
}

.phax-data-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr 0.9fr 0.9fr;
  gap: 8px;
  align-items: center;
}

.phax-data-cell {
  min-height: 40px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 12px;
  padding: 10px;
  background: rgba(10, 25, 47, 0.7);
  color: #cfe2f3;
  font-size: 12px;
}

.phax-data-row.header .phax-data-cell {
  background: rgba(37, 99, 235, 0.22);
  color: #effbff;
  font-weight: 800;
}

.phax-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 999px;
  padding: 5px 9px;
  color: #c9f5ff;
  font-size: 12px;
}

.phax-tag.green {
  border-color: rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.phax-tag.amber {
  border-color: rgba(245, 158, 11, 0.38);
  color: #fde68a;
}

.phax-tag.red {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

.phax-risk-matrix {
  display: grid;
  grid-template-columns: 88px repeat(5, minmax(54px, 1fr));
  gap: 8px;
}

.phax-risk-matrix .cell {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #f8fbff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.phax-risk-matrix .axis {
  background: rgba(125, 211, 252, 0.09);
  color: #bad2e8;
  font-size: 12px;
  font-weight: 700;
}

.phax-risk-matrix .low {
  background: rgba(34, 197, 94, 0.34);
}

.phax-risk-matrix .medium {
  background: rgba(245, 158, 11, 0.34);
}

.phax-risk-matrix .high {
  background: rgba(249, 115, 22, 0.38);
}

.phax-risk-matrix .critical {
  background: rgba(239, 68, 68, 0.42);
}

.phax-architecture-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.phax-arch-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: stretch;
}

.phax-arch-label {
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.14);
  color: #d9f7ff;
  font-weight: 800;
}

.phax-arch-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.phax-arch-node {
  position: relative;
  min-height: 92px;
  border: 1px solid rgba(94, 234, 212, 0.16);
  border-radius: 18px;
  padding: 15px;
  background: rgba(6, 18, 34, 0.72);
}

.phax-arch-node strong {
  display: block;
  color: #f4fbff;
}

.phax-arch-node span {
  display: block;
  margin-top: 8px;
  color: var(--phax-subtle);
  font-size: 12px;
  line-height: 1.55;
}

.phax-arch-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: center;
  padding: 4px 16px;
  color: var(--phax-cyan);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.phax-arch-flow span {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), rgba(94, 234, 212, 0.9));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.32);
}

.phax-lopa-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.phax-lopa-item {
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 18px;
  padding: 16px;
  background: rgba(10, 25, 47, 0.68);
}

.phax-lopa-item span {
  color: var(--phax-subtle);
  font-size: 12px;
}

.phax-lopa-item strong {
  display: block;
  margin-top: 8px;
  color: #f4fbff;
}

.phax-phone-shell {
  width: min(360px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 44px;
  padding: 13px;
  background:
    linear-gradient(145deg, rgba(148, 163, 184, 0.14), rgba(15, 23, 42, 0.8)),
    rgba(2, 8, 19, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 36px rgba(56, 189, 248, 0.12);
}

.phax-phone-screen {
  overflow: hidden;
  min-height: 650px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 34px;
  background: #061226;
}

.phax-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px 8px;
  color: #dff7ff;
  font-size: 12px;
  font-weight: 800;
}

.phax-mini-header {
  padding: 16px 18px 18px;
  background:
    radial-gradient(circle at top right, rgba(94, 234, 212, 0.22), transparent 45%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.76), rgba(8, 21, 40, 0.82));
}

.phax-mini-header h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.phax-mini-header p {
  margin: 0;
  color: #c9e8f8;
  font-size: 13px;
  line-height: 1.6;
}

.phax-mini-content {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.phax-mini-card {
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 18px;
  padding: 14px;
  background: rgba(10, 25, 47, 0.72);
}

.phax-mini-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phax-progress {
  overflow: hidden;
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.phax-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--phax-blue), var(--phax-neon));
}

.phax-case-card {
  min-height: 330px;
}

.phax-case-visual {
  display: grid;
  height: 138px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(94, 234, 212, 0.09)),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.05) 0 1px, transparent 1px 18px);
}

.phax-industry-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 26px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--phax-neon);
}

.phax-standard-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.phax-standard-strip span {
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(10, 25, 47, 0.58);
  color: #c7f7ff;
  font-size: 13px;
}

.phax-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.phax-form {
  display: grid;
  gap: 16px;
}

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

.phax-field {
  display: grid;
  gap: 8px;
}

.phax-field label {
  color: #d6ecff;
  font-size: 13px;
  font-weight: 800;
}

.phax-field input,
.phax-field textarea {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
  background: rgba(3, 10, 22, 0.72);
  color: #f4fbff;
  font: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.phax-field textarea {
  min-height: 148px;
  resize: vertical;
}

.phax-img {
  display: block;
  width: 66%;
  margin: 0 auto;
}

.phax-field input:focus,
.phax-field textarea:focus {
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.phax-form-status {
  min-height: 22px;
  color: var(--phax-neon);
  font-size: 13px;
}


.phax-qr {
  display: grid;
  width: 178px;
  height: 178px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(3, 10, 22, 0.72);
  background-size: 18px 18px;
  color: #d9f7ff;
  font-weight: 900;
  text-align: center;
}

.phax-footer {
  border-top: 1px solid rgba(125, 211, 252, 0.14);
  padding: 34px 0;
  background: rgba(3, 8, 18, 0.62);
}

.phax-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.phax-footer p {
  margin: 0;
  color: var(--phax-subtle);
  font-size: 13px;
  line-height: 1.7;
}

.phax-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #bdd1e6;
  font-size: 13px;
}

@keyframes phaxSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes phaxScan {
  0%,
  100% {
    top: 20%;
    opacity: 0;
  }

  12%,
  86% {
    opacity: 1;
  }

  50% {
    top: 74%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phax-site *,
  .phax-site *::before,
  .phax-site *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .phax-hero-grid,
  .phax-feature-split,
  .phax-feature-split.reverse,
  .phax-contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .phax-flow-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .phax-nav-toggle {
    display: inline-block;
  }

  .phax-nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 22px;
    padding: 12px;
    background: rgba(3, 8, 18, 0.96);
    box-shadow: var(--phax-shadow);
  }

  .phax-nav-links.is-open {
    display: flex;
  }

  .phax-nav-link {
    padding: 13px 14px;
  }

  .phax-grid,
  .phax-grid.two,
  .phax-grid.four,
  .phax-flow,
  .phax-arch-nodes,
  .phax-lopa-board,
  .phax-form-grid {
    grid-template-columns: 1fr;
  }

  .phax-hero-metrics,
  .phax-screen-bottom {
    grid-template-columns: 1fr;
  }

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

  .phax-risk-matrix {
    grid-template-columns: 62px repeat(5, minmax(42px, 1fr));
    gap: 6px;
  }

  .phax-risk-matrix .cell {
    min-height: 48px;
    border-radius: 11px;
    font-size: 11px;
  }

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

  .phax-footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .phax-container {
    width: min(100% - 28px, 1180px);
  }

  .phax-hero {
    padding: 58px 0 46px;
  }

  .phax-section {
    padding: 58px 0;
  }

  .phax-card,
  .phax-module-card,
  .phax-panel {
    border-radius: 20px;
  }

  .phax-hologram {
    min-height: 440px;
    padding: 16px;
  }

  .phax-core-screen {
    min-height: 408px;
  }

  .phax-phone-screen {
    min-height: 600px;
  }
}
