@font-face {
  font-family: "Estedad";
  src: url("/app/fonts/Estedad-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --void: #03040b;
  --void-2: #070a18;
  --ink: #edf7ff;
  --muted: rgba(210, 230, 255, 0.66);
  --faint: rgba(210, 230, 255, 0.42);
  --cyan: #2ee9ff;
  --turquoise: #2ff4c6;
  --blue: #5b7cff;
  --magenta: #ff4ecd;
  --saffron: #ffc857;
  --line: rgba(151, 220, 255, 0.18);
  --glass: rgba(9, 18, 42, 0.52);
  --glass-strong: rgba(12, 25, 60, 0.7);
  --max: 1180px;
  --nav-h: 74px;
  --shadow-cyan: 0 0 34px rgba(46, 233, 255, 0.28);
  --grad-neon: linear-gradient(120deg, var(--cyan), var(--turquoise) 38%, var(--blue) 72%, var(--magenta));
  --grad-warm: linear-gradient(120deg, var(--saffron), var(--magenta));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, rgba(91, 124, 255, 0.28), transparent 42rem),
    radial-gradient(circle at 12% 12%, rgba(47, 244, 198, 0.14), transparent 34rem),
    radial-gradient(circle at 88% 32%, rgba(255, 78, 205, 0.13), transparent 32rem),
    linear-gradient(180deg, #03040b 0%, #050817 48%, #03040b 100%);
  font-family: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

html[lang="fa"] body {
  font-family: "Estedad", "Inter", ui-sans-serif, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(30deg, rgba(46, 233, 255, 0.22) 12%, transparent 12.5%, transparent 87%, rgba(46, 233, 255, 0.22) 87.5%, rgba(46, 233, 255, 0.22)),
    linear-gradient(150deg, rgba(46, 233, 255, 0.22) 12%, transparent 12.5%, transparent 87%, rgba(46, 233, 255, 0.22) 87.5%, rgba(46, 233, 255, 0.22)),
    linear-gradient(30deg, rgba(46, 233, 255, 0.22) 12%, transparent 12.5%, transparent 87%, rgba(46, 233, 255, 0.22) 87.5%, rgba(46, 233, 255, 0.22)),
    linear-gradient(150deg, rgba(46, 233, 255, 0.22) 12%, transparent 12.5%, transparent 87%, rgba(46, 233, 255, 0.22) 87.5%, rgba(46, 233, 255, 0.22));
  background-position: 0 0, 0 0, 42px 74px, 42px 74px;
  background-size: 84px 148px;
  mask-image: radial-gradient(circle at 50% 10%, black, transparent 72%);
}

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

button {
  border: 0;
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(46, 233, 255, 0.34);
  color: #fff;
}

[data-lang-block] {
  display: none !important;
}

html[lang="de"] [data-lang-block="de"],
html[lang="fa"] [data-lang-block="fa"] {
  display: inline !important;
}

main,
footer {
  direction: ltr;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

html[lang="fa"] main,
html[lang="fa"] footer {
  direction: rtl;
}

html.is-lang-switching main,
html.is-lang-switching footer {
  opacity: 0;
  transform: translateY(8px);
}

#universe {
  position: fixed;
  inset: 0;
  z-index: -5;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw;
}

.depth-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
}

.ring,
.glyph {
  position: absolute;
  color: rgba(46, 233, 255, 0.18);
  filter: drop-shadow(0 0 24px rgba(46, 233, 255, 0.28));
  animation: drift 12s ease-in-out infinite;
}

.ring {
  border: 1px solid rgba(46, 233, 255, 0.2);
  border-radius: 50%;
  box-shadow: inset 0 0 42px rgba(91, 124, 255, 0.12), 0 0 80px rgba(46, 233, 255, 0.12);
}

.ring::before,
.ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255, 200, 87, 0.2);
  border-radius: inherit;
}

.ring-a {
  width: 48vw;
  height: 48vw;
  top: 6vh;
  right: -17vw;
}

.ring-b {
  width: 34vw;
  height: 34vw;
  left: -12vw;
  top: 44vh;
  animation-delay: -4s;
}

.glyph {
  font-size: clamp(88px, 12vw, 180px);
  font-weight: 900;
  opacity: 0.3;
}

.glyph-a {
  top: 19vh;
  left: 7vw;
}

.glyph-b {
  right: 9vw;
  top: 66vh;
  animation-delay: -3s;
}

.glyph-c {
  left: 40vw;
  top: 112vh;
  animation-delay: -7s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -24px, 0) rotate(8deg);
  }
}

.container {
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(78px, 10vw, 144px) 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.nav.is-scrolled {
  border-bottom: 1px solid rgba(151, 220, 255, 0.14);
  background: rgba(3, 4, 11, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav-actions,
.nav-links,
.lang {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  margin-right: auto;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--grad-neon);
  mask: url("/assets/persiahub-brand.png") center / contain no-repeat;
  -webkit-mask: url("/assets/persiahub-brand.png") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(47, 244, 198, 0.65));
}

.brand-mark.small {
  width: 24px;
  height: 24px;
}

.nav-links {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(151, 220, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 28px rgba(46, 233, 255, 0.04);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(46, 233, 255, 0.09);
}

.nav-actions {
  gap: 12px;
  margin-left: auto;
}

.lang {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(151, 220, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang button {
  min-width: 40px;
  padding: 7px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lang button.active {
  background: linear-gradient(120deg, rgba(46, 233, 255, 0.2), rgba(255, 78, 205, 0.16));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(46, 233, 255, 0.24);
}

.icon-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #041018;
  background: var(--grad-neon);
  box-shadow: var(--shadow-cyan);
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-h) + 44px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

html[lang="fa"] .hero-copy h1 {
  line-height: 1.18;
}

.hero-copy h1 span {
  background: linear-gradient(110deg, #fff 0%, #c9faff 31%, #9dafff 62%, #ffd8f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p,
.section-head p,
.app-copy p,
.journey-panel p {
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 19px);
}

.hero-copy p {
  max-width: 630px;
  margin: 26px 0 0;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #041018;
  background: var(--grad-neon);
  box-shadow: 0 18px 44px rgba(46, 233, 255, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(151, 220, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.signal-strip span {
  border: 1px solid rgba(151, 220, 255, 0.15);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
}

.hero-stage {
  position: relative;
  min-height: min(680px, 72vh);
  overflow: visible;
  perspective: 1200px;
}

.holo-orbit {
  position: absolute;
  inset: 11% 2%;
  border: 1px solid rgba(46, 233, 255, 0.18);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-16deg);
  box-shadow: 0 0 80px rgba(46, 233, 255, 0.08), inset 0 0 70px rgba(255, 78, 205, 0.06);
  animation: orbitSpin 18s linear infinite;
}

.orbit-two {
  inset: 20% 16%;
  border-color: rgba(255, 200, 87, 0.18);
  animation-duration: 13s;
  animation-direction: reverse;
}

@keyframes orbitSpin {
  to {
    transform: rotateX(66deg) rotateZ(344deg);
  }
}

.phone-shell {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(330px, 72vw);
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.42), 0 0 90px rgba(46, 233, 255, 0.16);
  transform: translate(-50%, -50%) rotate(-6deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-6deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-4deg) translateY(-16px);
  }
}

.phone-top {
  position: absolute;
  left: 50%;
  top: 22px;
  z-index: 2;
  width: 78px;
  height: 21px;
  border-radius: 999px;
  background: #050713;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: 32px;
  padding: 58px 20px 22px;
  background:
    radial-gradient(circle at 50% 4%, rgba(46, 233, 255, 0.3), transparent 28%),
    radial-gradient(circle at 100% 34%, rgba(255, 78, 205, 0.16), transparent 32%),
    linear-gradient(180deg, #070a19, #050711);
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(46, 233, 255, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 233, 255, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 32%, black, transparent 78%);
}

.app-head,
.app-hero,
.module-grid,
.progress-constellation {
  position: relative;
  z-index: 1;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 900;
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 28%;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(46, 233, 255, 0.08), transparent);
  animation: scan 4.5s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(520px);
  }
}

.app-hero {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid rgba(151, 220, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.app-hero strong {
  display: block;
  font-family: "Estedad", "Inter", sans-serif;
  font-size: 31px;
  line-height: 1.25;
}

.app-hero span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mini-module {
  min-height: 82px;
  border: 1px solid rgba(151, 220, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.mini-module.is-hot {
  background: linear-gradient(140deg, rgba(46, 233, 255, 0.24), rgba(255, 78, 205, 0.16));
  box-shadow: inset 0 0 0 1px rgba(46, 233, 255, 0.2), 0 0 28px rgba(46, 233, 255, 0.14);
}

.progress-constellation {
  height: 220px;
  margin-top: 18px;
  border: 1px solid rgba(151, 220, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 233, 255, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.025);
}

.progress-constellation::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255, 200, 87, 0.18);
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 56%, 82% 100%, 50% 72%, 18% 100%, 31% 56%, 0 35%, 38% 35%);
}

.progress-constellation span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.float-card,
.feature-card,
.app-console,
.journey-panel {
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26), inset 0 0 42px rgba(46, 233, 255, 0.035);
  backdrop-filter: blur(20px);
}

.float-card {
  position: absolute;
  z-index: 6;
  min-width: 188px;
  padding: 16px 18px;
  border-radius: 22px;
  transform-style: preserve-3d;
  animation: cardFloat 5s ease-in-out infinite;
}

.float-card span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
}

.float-card strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.card-drive {
  top: 15%;
  left: 1%;
}

.card-civic {
  right: 1%;
  top: 29%;
  animation-delay: -1.3s;
}

.card-dict {
  left: 10%;
  bottom: 10%;
  animation-delay: -2.1s;
}

@keyframes cardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head h2,
.app-copy h2,
.journey-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

html[lang="fa"] .section-head h2,
html[lang="fa"] .app-copy h2,
html[lang="fa"] .journey-panel h2 {
  line-height: 1.25;
}

.feature-section {
  overflow: hidden;
}

.feature-section::before,
.app-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 110vw;
  height: 78vw;
  border: 1px solid rgba(46, 233, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.feature-orbit {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.feature-card {
  position: relative;
  min-height: 298px;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  transform-style: preserve-3d;
}

.feature-card:nth-child(even) {
  margin-top: 44px;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 233, 255, 0.34), transparent 66%);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 200, 87, 0.3);
  border-radius: 50%;
  color: var(--saffron);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 22px rgba(255, 200, 87, 0.08);
}

.feature-card h3 {
  margin: 76px 0 0;
  font-size: 24px;
  line-height: 1.08;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.app-console {
  overflow: hidden;
  border-radius: 28px;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(151, 220, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 14px currentColor;
}

.console-top span:nth-child(2) {
  background: var(--saffron);
}

.console-top span:nth-child(3) {
  background: var(--turquoise);
}

.console-top strong {
  margin-left: auto;
  color: var(--faint);
  font-size: 12px;
}

.console-body {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 260px;
  gap: 18px;
  padding: 18px;
}

.hud-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(151, 220, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 233, 255, 0.16), transparent 42%),
    linear-gradient(120deg, rgba(46, 233, 255, 0.06), rgba(255, 78, 205, 0.05));
}

.hud-map::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(46, 233, 255, 0.24);
  clip-path: polygon(50% 0, 64% 34%, 100% 35%, 70% 56%, 82% 100%, 50% 72%, 18% 100%, 30% 56%, 0 35%, 36% 34%);
}

.hud-map i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 233, 255, 0.66), transparent);
  transform-origin: left center;
}

.hud-map i:nth-child(1) {
  transform: rotate(20deg);
}

.hud-map i:nth-child(2) {
  transform: rotate(94deg);
}

.hud-map i:nth-child(3) {
  transform: rotate(161deg);
}

.hud-map i:nth-child(4) {
  transform: rotate(238deg);
}

.pulse-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 18px rgba(255, 200, 87, 0.08), 0 0 34px rgba(255, 200, 87, 0.48);
  transform: translate(-50%, -50%);
}

.hud-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.hud-row {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(151, 220, 255, 0.13);
  border-radius: 18px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 850;
}

.hud-row span {
  color: var(--cyan);
}

.hud-row.active {
  background: linear-gradient(120deg, rgba(46, 233, 255, 0.17), rgba(255, 78, 205, 0.1));
  box-shadow: inset 0 0 0 1px rgba(46, 233, 255, 0.18);
}

.app-copy p,
.journey-panel p {
  margin: 22px 0 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.metric-grid div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(151, 220, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--cyan);
  font-size: 28px;
  line-height: 1;
}

.metric-grid span {
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
}

.journey-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 54px);
}

.journey-panel::before {
  content: "";
  position: absolute;
  inset: auto -12% -44% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 205, 0.22), transparent 68%);
}

.qr-holo {
  position: relative;
  z-index: 1;
  width: 150px;
  padding: 14px;
  border: 1px solid rgba(151, 220, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 50px rgba(46, 233, 255, 0.14);
}

.footer {
  border-top: 1px solid rgba(151, 220, 255, 0.12);
  padding: 28px 0;
  color: var(--faint);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  margin-left: 18px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.76s ease, transform 0.76s cubic-bezier(0.2, 0.72, 0.16, 1);
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .hero {
    padding-top: calc(var(--nav-h) + 34px);
  }

  .hero-stage {
    min-height: 660px;
  }

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

  .feature-card:nth-child(even) {
    margin-top: 0;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .journey-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 68px;
  }

  .container {
    width: min(100% - 30px, var(--max));
  }

  .nav {
    padding-inline: 15px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 13vw, 66px);
  }

  .hero-stage {
    min-height: 620px;
    margin-inline: -10px;
    overflow: hidden;
  }

  .phone-shell {
    width: min(310px, 82vw);
  }

  .phone-screen {
    min-height: 560px;
  }

  .float-card {
    min-width: 154px;
    padding: 13px 14px;
  }

  .card-drive {
    left: 0;
    top: 8%;
  }

  .card-civic {
    right: 0;
    top: 34%;
  }

  .card-dict {
    left: 4%;
    bottom: 8%;
  }

  .feature-orbit,
  .console-body,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-card h3 {
    margin-top: 46px;
  }

  .journey-panel {
    padding: 24px;
  }

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

  .footer a {
    margin-left: 0;
    margin-right: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
