.aa-splash,
.aa-splash * {
  box-sizing: border-box;
}

.aa-splash {
  --aa-ink: #101b43;
  --aa-muted: #56658d;
  --aa-violet: #713cff;
  --aa-violet-2: #9b4dff;
  --aa-blue: #4f72ff;
  --aa-lavender: #e9e5ff;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--aa-ink);
  background: #f8f9ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Fully opaque from first paint — no opacity fade-in, warna prerendered
     #root content splash se pehle flash karta hai. Sirf content animate. */
  opacity: 1;
}

/* App content tab tak na dikhe jab tak splash zinda hai */
html:not(.aa-splash-skip) #root {
  visibility: hidden;
}
html.aa-splash-skip #root,
html.aa-splash-done #root {
  visibility: visible;
}

.aa-splash-bg {
  position: absolute;
  inset: -10%;
  z-index: -6;
  background:
    radial-gradient(ellipse at 49% 28%, rgba(202, 197, 255, .62), transparent 35%),
    radial-gradient(ellipse at 10% 64%, rgba(222, 216, 255, .78), transparent 34%),
    radial-gradient(ellipse at 88% 66%, rgba(218, 214, 255, .75), transparent 35%),
    linear-gradient(135deg, #fbfcff 0%, #f4f5ff 48%, #fbfaff 100%);
  animation: aa-bg-breathe 12s ease-in-out infinite alternate;
}

.aa-bg-arc {
  position: absolute;
  z-index: -5;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  pointer-events: none;
}
.aa-bg-arc-one { width: min(94vw, 1450px); height: min(94vw, 1450px); top: -71%; left: 3%; }
.aa-bg-arc-two { width: min(82vw, 1260px); height: min(82vw, 1260px); top: -60%; left: 10%; border-color: rgba(182,174,255,.12); }

.aa-globe {
  position: absolute;
  z-index: -3;
  width: clamp(360px, 52vw, 820px);
  aspect-ratio: 1;
  left: 50%;
  top: -43%;
  transform: translateX(-50%);
  border-radius: 50%;
  overflow: hidden;
  opacity: .8;
  background: radial-gradient(circle at 50% 73%, rgba(255,255,255,.12), rgba(192,190,255,.08) 45%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 83%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 83%);
  animation: aa-globe-drift 15s ease-in-out infinite alternate;
}
.aa-globe-dots {
  position: absolute;
  inset: 1% 2% 12%;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(255,255,255,.95) 1.15px, transparent 1.8px);
  background-size: 10px 10px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 47%, #000 32%, rgba(0,0,0,.75) 59%, transparent 73%);
  mask-image: radial-gradient(ellipse at 50% 47%, #000 32%, rgba(0,0,0,.75) 59%, transparent 73%);
}
.aa-globe-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 52% 60%, transparent 42%, rgba(255,255,255,.55) 65%, transparent 72%);
}

.aa-particle-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aa-particle {
  position: absolute;
  left: var(--particle-left);
  top: var(--particle-top);
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(139,113,255,.35);
  opacity: .55;
  animation: aa-particle-float var(--particle-duration) var(--particle-delay) ease-in-out infinite;
}
.aa-particle-1 { background: #b7a2ff; }
.aa-particle-2 { background: #d7d1ff; opacity: .75; }
.aa-particle-3 { background: #fff; box-shadow: 0 0 12px 3px rgba(255,255,255,.8); }

.aa-landscape {
  position: absolute;
  z-index: -2;
  bottom: -1px;
  width: 49%;
  height: clamp(130px, 25vh, 260px);
  pointer-events: none;
  opacity: .9;
  animation: aa-wave-float 10s ease-in-out infinite alternate;
}
.aa-landscape-left { left: 0; }
.aa-landscape-right { right: 0; animation-delay: -4s; }

.aa-splash-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 26px 24px;
  transform: translateY(-1.3vh);
}

.aa-visual {
  position: relative;
  width: min(540px, 54vw);
  height: clamp(230px, 31vh, 330px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin-bottom: clamp(0px, 1.5vh, 20px);
}
.aa-logo-platform {
  position: absolute;
  width: 78%;
  height: 30px;
  bottom: 5px;
  transform: perspective(450px) rotateX(58deg);
  transform-style: preserve-3d;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(162,139,255,.45), rgba(255,255,255,.82));
  box-shadow: 0 13px 24px rgba(111,74,255,.2), 0 0 24px rgba(147,120,255,.35);
}
.aa-platform-top {
  position: absolute;
  inset: -8px 8%;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(130,97,255,.5), inset 0 0 12px rgba(255,255,255,.8);
}
.aa-platform-edge {
  position: absolute;
  inset: 5px 2%;
  border-radius: 50%;
  border: 2px solid rgba(132,100,255,.42);
}
.aa-platform-glow {
  position: absolute;
  left: 14%; right: 14%; top: 20px; height: 28px;
  border-radius: 50%;
  background: rgba(140,105,255,.25);
  filter: blur(16px);
}

.aa-logo-glass {
  position: absolute;
  z-index: 3;
  top: 12%;
  width: clamp(150px, 18vw, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 30%;
  border: 1.5px solid rgba(255,255,255,.95);
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(239,236,255,.36) 52%, rgba(255,255,255,.6));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 52px rgba(88,73,184,.16), inset 0 2px 7px rgba(255,255,255,.98), inset 0 -10px 24px rgba(151,126,255,.16);
  transform: rotateX(6deg) rotateY(-8deg);
  animation: aa-logo-float 5.5s ease-in-out infinite;
}
.aa-logo-glass::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(159,145,255,.2);
}
.aa-logo-reflection {
  position: absolute;
  top: 5%; left: 10%; width: 42%; height: 32%;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  filter: blur(20px);
  transform: rotate(-32deg);
}
.aa-monogram {
  position: relative;
  z-index: 2;
  margin-top: -7px;
  font-size: clamp(108px, 13vw, 165px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.12em;
  padding-right: .12em;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  color: transparent;
  background: linear-gradient(145deg, #4c6fff 8%, #6337e8 48%, #a448f2 86%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 8px 7px rgba(94,65,210,.19));
}
.aa-logo-spark {
  position: absolute;
  z-index: 3;
  right: 17%; top: 18%;
  color: #753bff;
  font-size: clamp(25px, 3vw, 39px);
  text-shadow: 0 0 15px rgba(124,76,255,.45);
  animation: aa-sparkle 2.5s ease-in-out infinite;
}

.aa-orbit {
  position: absolute;
  left: 50%; top: 43%;
  border: 2px solid rgba(137,113,255,.35);
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}
.aa-orbit-back { width: 96%; height: 37%; transform: translate(-50%,-50%) rotate(-9deg) rotateX(62deg); animation: aa-orbit-spin 15s linear infinite; }
.aa-orbit-front { width: 107%; height: 29%; top: 59%; border-color: rgba(255,255,255,.95); box-shadow: 0 0 13px rgba(145,117,255,.34); transform: translate(-50%,-50%) rotate(7deg) rotateX(62deg); animation: aa-orbit-spin-reverse 11s linear infinite; }
.aa-orbit-thin { width: 116%; height: 42%; top: 47%; border-color: rgba(174,157,255,.23); transform: translate(-50%,-50%) rotate(-15deg) rotateX(66deg); }
.aa-orbit-dot { position: absolute; z-index: 5; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(143,111,255,.12), 0 0 15px 5px rgba(128,92,255,.6); }
.aa-orbit-dot-one { left: 5%; top: 43%; }
.aa-orbit-dot-two { right: 7%; top: 59%; width: 6px; height: 6px; }

.aa-tech-tile {
  position: absolute;
  z-index: 5;
  width: clamp(72px, 8.5vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255,255,255,.98);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(237,235,255,.44));
  box-shadow: 0 13px 26px rgba(96,82,178,.1), inset 0 1px 5px #fff;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}
.aa-tech-aws { left: 4%; top: 2%; animation: aa-tile-float 6s ease-in-out infinite; }
.aa-tech-react { right: 3%; top: 2%; animation: aa-tile-float 7s -2s ease-in-out infinite; color: #08bde6; }
.aa-tech-code { left: -12%; top: 40%; animation: aa-tile-float 6.7s -1s ease-in-out infinite; color: #8848f5; transform: rotate(-5deg); }
.aa-tech-next { right: -15%; top: 40%; animation: aa-tile-float 7.5s -3s ease-in-out infinite; }
.aa-react-mark, .aa-code-mark, .aa-cloud-mark, .aa-stack-mark { width: 58%; height: 58%; }
.aa-code-mark, .aa-cloud-mark, .aa-stack-mark { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.aa-aws-mark { display: flex; flex-direction: column; align-items: center; }
.aa-aws-mark img { width: clamp(56px, 6vw, 80px); height: auto; display: block; }
.aa-next-mark { width: 48%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #11172b; font-size: clamp(25px, 3.4vw, 39px); font-weight: 300; font-family: Georgia, serif; }

.aa-intro { text-align: center; margin-top: clamp(2px, .7vh, 12px); animation: aa-text-rise 850ms 250ms both; }
.aa-name {
  margin: 0;
  color: #111c40;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.aa-name em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, #554cff, #9b43ed 78%);
  background-clip: text;
  -webkit-background-clip: text;
}
.aa-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 15px;
  color: #26365e;
  font-size: clamp(11px, 1.15vw, 17px);
  font-weight: 650;
  letter-spacing: .34em;
  white-space: nowrap;
}
.aa-role span { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, rgba(116,93,230,.8)); }
.aa-role span:last-child { transform: rotate(180deg); }

.aa-capabilities {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 25px);
  margin-top: clamp(20px, 3vh, 34px);
  animation: aa-text-rise 850ms 430ms both;
}
.aa-capability {
  min-width: clamp(125px, 11vw, 166px);
  min-height: clamp(76px, 9vh, 94px);
  padding: 12px 17px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.83), rgba(245,243,255,.61));
  box-shadow: 0 8px 20px rgba(95,77,182,.08), 0 2px 5px rgba(111,86,213,.06), inset 0 1px 3px #fff;
  color: #17254b;
  font-size: clamp(11px, .93vw, 14px);
  font-weight: 650;
  white-space: nowrap;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.aa-capability:hover { transform: translateY(-6px); border-color: rgba(139,103,255,.45); box-shadow: 0 15px 25px rgba(104,78,205,.15); }
.aa-capability svg { width: 35px; height: 35px; color: #8752f6; }
.aa-cap-icon, .aa-rocket-icon { height: 35px; display: grid; place-items: center; color: #8752f6; font-size: 36px; line-height: 1; }
.aa-rocket-icon { transform: rotate(-35deg); font-size: 33px; }
.aa-capability-one .aa-cap-icon { animation: aa-icon-pulse 3s ease-in-out infinite; }
.aa-capability-two { animation: aa-card-float 5.7s ease-in-out infinite; }
.aa-capability-three { animation: aa-card-float 6.3s -1.4s ease-in-out infinite; }
.aa-capability-four { animation: aa-card-float 5.9s -2.2s ease-in-out infinite; }

.aa-progress-section {
  width: min(710px, 72vw);
  margin-top: clamp(25px, 4vh, 42px);
  animation: aa-text-rise 850ms 580ms both;
}
.aa-progress-labels { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; color: #26365e; font-size: clamp(13px, 1.1vw, 17px); font-weight: 530; }
.aa-progress-labels strong { font-size: clamp(14px, 1.2vw, 18px); font-weight: 750; color: #18274d; }
.aa-progress-track { position: relative; height: 16px; overflow: hidden; border-radius: 999px; background: #deddf6; box-shadow: inset 0 2px 4px rgba(72,64,140,.08); }
.aa-progress-fill {
  position: relative;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #713cff 0%, #8c39f6 57%, #b54cff 100%);
  box-shadow: 0 2px 12px rgba(115,61,255,.28);
  transition: width 120ms linear;
}
.aa-progress-light { position: absolute; top: -2px; right: -2px; width: 13px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 4px rgba(255,255,255,.9), 0 0 20px 8px rgba(167,119,255,.55); }

.aa-quality {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: clamp(18px, 3vw, 44px);
  row-gap: 12px;
  margin-top: clamp(24px, 3.6vh, 38px);
  color: #657091;
  font-size: clamp(11px, .95vw, 14px);
  animation: aa-text-rise 850ms 720ms both;
}
.aa-quality div { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.aa-quality span { display: grid; place-items: center; width: 20px; height: 20px; border: 1.7px solid #8552ff; border-radius: 50%; color: #8552ff; font-size: 13px; font-weight: 750; }

.aa-skip {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(16px, 3vh, 32px);
  z-index: 10;
  padding: 9px 15px;
  border: 1px solid rgba(128,105,220,.2);
  border-radius: 999px;
  color: #5e4c9e;
  background: rgba(255,255,255,.58);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.aa-skip:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(98,76,181,.13); }
.aa-skip span { margin-left: 5px; }

.aa-splash--leaving { animation: aa-screen-out 560ms cubic-bezier(.6,0,.8,.2) forwards; pointer-events: none; }
.aa-splash--leaving .aa-splash-content { animation: aa-content-out 560ms ease forwards; }

/* Content-only entrance (screen itself stays opaque; transform nahi —
   media-query scale/translate overrides rehne dete hain) */
.aa-splash-content { animation: aa-content-in 520ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes aa-content-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes aa-screen-out { to { opacity: 0; visibility: hidden; } }
@keyframes aa-content-out { to { opacity: 0; transform: translateY(-24px) scale(.985); filter: blur(5px); } }
@keyframes aa-bg-breathe { from { transform: scale(1) translate3d(-1%,0,0); } to { transform: scale(1.06) translate3d(1%,1%,0); } }
@keyframes aa-globe-drift { from { translate: -50% 0; } to { translate: -50% 20px; } }
@keyframes aa-particle-float { 0%,100% { transform: translate3d(0,0,0) scale(.7); opacity: .15; } 45% { transform: translate3d(13px,-24px,0) scale(1.15); opacity: .85; } 75% { transform: translate3d(-8px,-38px,0) scale(.8); opacity: .35; } }
@keyframes aa-wave-float { from { transform: translateY(0) scaleX(1); } to { transform: translateY(-13px) scaleX(1.025); } }
@keyframes aa-logo-float { 0%,100% { translate: 0 0; rotate: -1deg; } 50% { translate: 0 -11px; rotate: 1deg; } }
@keyframes aa-orbit-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes aa-orbit-spin-reverse { from { rotate: 360deg; } to { rotate: 0deg; } }
@keyframes aa-tile-float { 0%,100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -15px; rotate: 3deg; } }
@keyframes aa-sparkle { 0%,100% { transform: scale(.8) rotate(0); opacity: .7; } 50% { transform: scale(1.18) rotate(18deg); opacity: 1; } }
@keyframes aa-text-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aa-icon-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes aa-card-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -4px; } }

@media (max-height: 760px) and (min-width: 761px) {
  .aa-splash-content { transform: scale(.82); }
  .aa-visual { height: 230px; }
  .aa-capabilities { margin-top: 10px; }
  .aa-progress-section { margin-top: 18px; }
  .aa-quality { margin-top: 18px; }
}

@media (max-width: 760px) {
  .aa-splash-content { width: 100%; padding: 24px 18px 35px; transform: translateY(-1vh); }
  .aa-visual { width: min(390px, 88vw); height: clamp(205px, 29vh, 260px); margin-bottom: 8px; }
  .aa-logo-glass { width: clamp(138px, 39vw, 175px); top: 9%; }
  .aa-monogram { font-size: clamp(105px, 30vw, 135px); }
  .aa-orbit-back { width: 102%; }
  .aa-orbit-front { width: 111%; }
  .aa-tech-tile { width: 66px; border-radius: 15px; }
  .aa-tech-code { left: -1%; top: 48%; }
  .aa-tech-next { right: -1%; top: 48%; }
  .aa-tech-aws { left: 4%; top: 1%; }
  .aa-tech-react { right: 4%; top: 1%; }
  .aa-name { font-size: clamp(38px, 9vw, 54px); }
  .aa-role { gap: 10px; margin-top: 11px; font-size: clamp(9px, 2.5vw, 12px); letter-spacing: .16em; }
  .aa-role span { width: 20px; }
  .aa-capabilities { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .aa-capability { min-width: 0; min-height: 73px; padding: 9px 6px; border-radius: 17px; font-size: 11px; }
  .aa-capability svg, .aa-cap-icon, .aa-rocket-icon { width: 29px; height: 29px; font-size: 29px; }
  .aa-progress-section { width: 100%; margin-top: 27px; }
  .aa-progress-track { height: 13px; }
  .aa-quality { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; column-gap: 22px; margin-top: 22px; font-size: 11px; }
  .aa-quality span { width: 18px; height: 18px; }
  .aa-landscape { width: 75%; height: 135px; }
  .aa-globe { width: 115vw; top: -13%; }
  .aa-bg-arc-one { width: 145vw; height: 145vw; top: -38%; left: -22%; }
  .aa-bg-arc-two { width: 130vw; height: 130vw; top: -28%; left: -15%; }
  .aa-skip { right: 14px; bottom: 12px; font-size: 11px; }
}

@media (max-width: 380px) {
  .aa-splash-content { padding-inline: 14px; }
  .aa-visual { height: 195px; }
  .aa-name { font-size: 35px; }
  .aa-role { font-size: 8px; letter-spacing: .12em; }
  .aa-tech-tile { width: 56px; }
  .aa-quality { column-gap: 13px; font-size: 10px; }
}

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

/* Rocket icon (Product Development) — unicode ♧ ki jagah asli SVG mark */
.aa-rocket-mark { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Skip state for returning visitors */
html.aa-splash-skip #initial-splash,
html.aa-splash-skip .aa-splash {
  display: none !important;
}

