:root {
  --ai-blue: #54d8ff;
  --ai-violet: #8b6cff;
  --ai-fuchsia: #e45cff;
  --ai-navy: #07091a;
  --pearl: #f4f2ed;
  --ink: #11152d;
}
body {
  background: var(--ai-navy);
  background-image:
    radial-gradient(circle at 78% 9%, rgba(91, 67, 210, 0.18), transparent 29%),
    radial-gradient(circle at 12% 30%, rgba(44, 188, 229, 0.08), transparent 25%);
}
.nav-wrap {
  background: linear-gradient(180deg, rgba(7, 9, 26, 0.94), rgba(7, 9, 26, 0.7), transparent);
}
.nav {
  border-bottom-color: rgba(124, 218, 255, 0.16);
}
.brand img {
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 0 25px rgba(84, 216, 255, 0.13);
}
.brand small,
.kicker,
.section-label {
  color: #78dcff;
}
.language,
.menu {
  border-color: rgba(120, 220, 255, 0.24);
  background: rgba(87, 103, 206, 0.08);
}
.hero {
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 4% -20% -5% 32%;
  background:
    radial-gradient(ellipse, rgba(116, 74, 255, 0.22), transparent 54%),
    radial-gradient(ellipse at 64% 40%, rgba(37, 208, 241, 0.15), transparent 45%);
  filter: blur(25px);
  pointer-events: none;
}
.hero:after {
  background: linear-gradient(90deg, #d7b45c, #54d8ff, transparent);
  width: 64%;
}
.hero h1 em {
  background: linear-gradient(90deg, #f4d98c 4%, #8de7ff 48%, #b69bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text {
  color: #bfc4db;
}
.button.gold {
  background: linear-gradient(112deg, #bd9136, #f2d783 45%, #95e8ff 150%);
}
.button.ghost {
  border-color: rgba(122, 216, 255, 0.26);
  background: rgba(107, 87, 255, 0.06);
  backdrop-filter: blur(12px);
}
.hero-metrics strong {
  color: #9eeaff;
}
.hero-art {
  min-height: 520px;
}
#neuralCanvas {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(84, 216, 255, 0.15));
}
.hero-art img {
  width: 76%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 42px rgba(102, 73, 255, 0.18));
}
.halo {
  background: radial-gradient(
    circle,
    rgba(105, 79, 255, 0.24),
    rgba(47, 200, 231, 0.08) 42%,
    transparent 70%
  );
}
.orbit {
  border-color: rgba(116, 221, 255, 0.28);
}
.orbit:before {
  background: #8feaff;
  box-shadow: 0 0 22px #54d8ff;
}
.orbit-b {
  border-color: rgba(209, 166, 255, 0.23);
}
.star {
  color: #a4ebff;
}

.manifesto {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  padding-right: max(20px, calc((100vw - 1160px) / 2));
  background:
    radial-gradient(circle at 85% 12%, rgba(113, 81, 255, 0.1), transparent 30%), var(--pearl);
  color: var(--ink);
  border-bottom: 0;
}
.manifesto .section-label {
  color: #7561ca;
}
.manifesto blockquote {
  color: var(--ink);
}

.universe {
  background:
    radial-gradient(circle at 50% 20%, rgba(77, 54, 190, 0.21), transparent 36%),
    linear-gradient(180deg, #0a0c22, #07091a);
}
.section-head > p {
  color: #abb0ca;
}
.services-shell {
  position: relative;
}
.services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: #89e4ff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.carousel-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(126, 220, 255, 0.28);
  background: rgba(255, 255, 255, 0.035);
  color: #f7f4ed;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}
.carousel-controls button:hover {
  background: #75dfff;
  color: #0b1021;
  transform: translateY(-2px);
}
.carousel-controls strong {
  min-width: 58px;
  text-align: center;
  color: #d9dced;
  font:
    500 13px "ASTROLEX Persian",
    Inter,
    sans-serif;
  letter-spacing: 0.08em;
}
.services-viewport {
  position: relative;
  height: 470px;
  overflow: hidden;
  perspective: 1500px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.cards {
  position: absolute;
  inset: 0;
  display: block;
  border: 0;
  transform-style: preserve-3d;
}
.card,
.card-wide {
  position: absolute;
  top: 20px;
  left: 50%;
  width: min(390px, 72vw);
  height: 405px;
  min-height: 0;
  padding: 36px;
  border: 1px solid rgba(126, 220, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
  overflow: hidden;
  transform-origin: center;
  will-change: transform, opacity;
  transition:
    transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.55s ease,
    filter 0.55s ease,
    border-color 0.4s;
}
.card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 7%, rgba(126, 95, 255, 0.22), transparent 35%),
    radial-gradient(circle at 0 100%, rgba(51, 205, 235, 0.13), transparent 42%);
  pointer-events: none;
}
.card:after {
  height: 55%;
  opacity: 0.35;
  background: radial-gradient(circle, rgba(102, 221, 255, 0.16), transparent 68%);
}
.card.active {
  border-color: rgba(147, 229, 255, 0.48);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(91, 77, 220, 0.14);
}
.card i {
  color: #8ee8ff;
  margin: 66px 0 24px;
}
.card h3 {
  font-size: 32px;
}
.card p {
  color: #b8bdd1;
}
.card a {
  color: #99eaff;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #525873;
  cursor: pointer;
  transition: 0.35s;
}
.carousel-dots button.active {
  width: 30px;
  border-radius: 8px;
  background: linear-gradient(90deg, #54d8ff, #9b79ff);
}

.flow {
  background:
    radial-gradient(circle at 78% 24%, rgba(91, 66, 214, 0.13), transparent 33%),
    linear-gradient(180deg, #f5f3ee, #ebeaf1);
  color: var(--ink);
}
.flow:before {
  color: rgba(74, 68, 138, 0.04);
}
.flow-head h2,
.flow-step h3 {
  color: var(--ink);
}
.flow-head > p,
.flow-step p {
  color: #636779;
}
.flow-track:before {
  background: linear-gradient(90deg, transparent, #7967d8 15%, #43bcd9 85%, transparent);
}
.flow-step {
  border-color: rgba(67, 73, 116, 0.14);
}
.step-icon {
  background: #f3f1ed;
  border-color: rgba(91, 79, 170, 0.38);
  color: #6754c7;
  box-shadow:
    0 0 0 9px #efedf0,
    0 14px 35px rgba(56, 57, 103, 0.08);
}
.flow-step:hover .step-icon {
  background: linear-gradient(135deg, #6ddff8, #8a6df1);
  color: white;
  box-shadow:
    0 0 0 9px #efedf0,
    0 18px 45px rgba(92, 83, 203, 0.25);
}
.flow-outcome {
  border-color: rgba(88, 79, 164, 0.22);
  background: rgba(255, 255, 255, 0.52);
}
.flow-outcome span {
  color: #6552bd;
}
.flow-outcome strong {
  color: #252a48;
}

.digital-id {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 48%, rgba(57, 205, 238, 0.13), transparent 31%),
    radial-gradient(circle at 88% 20%, rgba(125, 83, 240, 0.19), transparent 34%), #080a1e;
  border-top: 1px solid rgba(116, 220, 255, 0.12);
  border-bottom: 1px solid rgba(116, 220, 255, 0.12);
}
.digital-id:before {
  content: "07";
  position: absolute;
  right: 4%;
  top: 3%;
  font:
    700 min(28vw, 370px)/1 "ASTROLEX Persian",
    Cormorant Garamond,
    serif;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
}
.digital-id-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}
.digital-id-copy h2 {
  font:
    600 clamp(42px, 5vw, 67px)/1.02 "ASTROLEX Persian",
    Cormorant Garamond,
    serif;
  margin: 0;
  max-width: 720px;
}
.digital-id-copy > p:not(.section-label) {
  color: #b5bad0;
  font-size: 14px;
  line-height: 1.9;
  max-width: 650px;
  margin: 27px 0;
}
.id-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.id-benefits span {
  padding: 10px 14px;
  border: 1px solid rgba(120, 220, 255, 0.2);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  color: #dce4f3;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.id-console {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(142, 229, 255, 0.26);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.36),
    0 0 45px rgba(98, 74, 226, 0.12);
  backdrop-filter: blur(22px);
  text-align: center;
}
.id-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8ce8ff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
}
.id-console-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82edbe;
  box-shadow: 0 0 12px #82edbe;
}
.qr-symbol {
  width: 150px;
  aspect-ratio: 1;
  margin: 28px auto 24px;
  border: 1px solid rgba(151, 230, 255, 0.32);
  border-radius: 20px;
  position: relative;
  background: linear-gradient(135deg, rgba(81, 209, 239, 0.11), rgba(127, 87, 236, 0.15));
  box-shadow: inset 0 0 35px rgba(92, 218, 248, 0.08);
}
.qr-symbol b {
  position: absolute;
  width: 35px;
  height: 35px;
  border: 6px solid #96ebff;
}
.qr-symbol b:nth-child(1) {
  left: 17px;
  top: 17px;
}
.qr-symbol b:nth-child(2) {
  right: 17px;
  top: 17px;
}
.qr-symbol b:nth-child(3) {
  left: 17px;
  bottom: 17px;
}
.qr-symbol span {
  position: absolute;
  right: 22px;
  bottom: 8px;
  font:
    600 65px "ASTROLEX Persian",
    Cormorant Garamond,
    serif;
  color: #d5b75c;
  text-shadow: 0 0 22px rgba(213, 183, 92, 0.35);
}
.id-console h3 {
  font:
    600 30px "ASTROLEX Persian",
    Cormorant Garamond,
    serif;
  margin: 0 0 8px;
}
.id-console > p {
  color: #999fb9;
  font-size: 12px;
  margin: 0 0 20px;
}
.id-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}
.id-form input {
  min-width: 0;
  height: 50px;
  border: 1px solid rgba(133, 222, 255, 0.22);
  border-radius: 10px;
  background: rgba(2, 5, 18, 0.58);
  color: white;
  padding: 0 16px;
  font:
    500 13px "ASTROLEX Persian",
    Inter,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: 0;
}
.id-form input:focus {
  border-color: #79ddf7;
  box-shadow: 0 0 0 3px rgba(84, 216, 255, 0.08);
}
.id-form button {
  border: 0;
  border-radius: 10px;
  padding: 0 20px;
  background: linear-gradient(112deg, #bd9136, #f2d783);
  color: #16110a;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.id-status {
  min-height: 18px !important;
  margin: 12px 0 0 !important;
  color: #92e7ff !important;
}
.id-status.error {
  color: #ff9baf !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.identity {
  width: min(1160px, calc(100% - 40px));
}
.identity-mark:after {
  background: radial-gradient(
    circle,
    rgba(82, 202, 233, 0.12),
    rgba(109, 75, 220, 0.08) 38%,
    transparent 68%
  );
}
.identity-mark img {
  border-radius: 0;
  mix-blend-mode: normal;
  filter: contrast(1.05) drop-shadow(0 18px 45px rgba(0, 0, 0, 0.28));
}
.identity-copy > p {
  color: #aeb3cb;
}
.identity li {
  border-color: rgba(124, 218, 255, 0.15);
}
.cta {
  background:
    radial-gradient(circle at 50% 0, rgba(87, 65, 211, 0.23), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(55, 204, 235, 0.11), transparent 31%), #080a1d;
}
.footer {
  background: #050615;
  border-color: rgba(116, 220, 255, 0.15);
}

@media (max-width: 900px) {
  .hero-art {
    min-height: 430px;
  }
  .hero-art img {
    width: 66%;
  }
  .services-viewport {
    height: 455px;
  }
  .nav-links {
    background: #0b0d25;
    border-color: rgba(126, 220, 255, 0.2);
  }
  .digital-id-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .id-console {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }
}
@media (max-width: 580px) {
  .hero-art {
    min-height: 330px;
  }
  .hero-art img {
    width: 74%;
  }
  #neuralCanvas {
    inset: -6%;
    width: 112%;
    height: 112%;
  }
  .services-toolbar {
    align-items: flex-start;
    gap: 18px;
  }
  .services-toolbar > span {
    max-width: 120px;
    line-height: 1.7;
  }
  .services-viewport {
    height: 420px;
    mask-image: none;
  }
  .card,
  .card-wide {
    top: 8px;
    width: 82vw;
    height: 380px;
    padding: 30px;
  }
  .card i {
    margin: 48px 0 22px;
  }
  .manifesto {
    padding-left: 20px;
    padding-right: 20px;
  }
  .digital-id-copy h2 {
    font-size: 41px;
  }
  .id-console {
    padding: 22px 18px;
  }
  .id-form {
    grid-template-columns: 1fr;
  }
  .id-form button {
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .card-wide,
  .step-icon {
    transition: none !important;
  }
}
