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

:root {
  --sky: #0a4fff;
  --sky-light: #3d8bff;
  --sky-glow: #60a5ff;
  --gold: #f0c040;
  --dark: #030a1a;
  --dark2: #060f24;
  --white: #e8f0ff;
  --circuit: rgba(61, 139, 255, 0.18);
  --mono: "Share Tech Mono", monospace;
  --display: "Orbitron", sans-serif;
  --body: "Rajdhani", sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  background: var(--dark);
  color: var(--white);
  font-family: var(--body);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  width: 12px;
  height: 12px;
  background: var(--sky-glow);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    transform 0.08s,
    background 0.2s;
  box-shadow:
    0 0 12px var(--sky-glow),
    0 0 30px rgba(61, 139, 255, 0.5);
}
#cursor-ring {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(61, 139, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    width 0.2s,
    height 0.2s;
}

/* ── STARS CANVAS ── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── CIRCUIT CANVAS ── */
#circuit-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

/* ── AURORA / MESH GRADIENT BG ── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 50% at 20% 80%,
      rgba(10, 79, 255, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 20%,
      rgba(61, 139, 255, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 30% at 50% 50%,
      rgba(96, 165, 255, 0.05) 0%,
      transparent 70%
    );
  animation: aurora-shift 12s ease-in-out infinite alternate;
}
@keyframes aurora-shift {
  0% {
    opacity: 0.7;
    filter: hue-rotate(0deg);
  }
  100% {
    opacity: 1;
    filter: hue-rotate(25deg);
  }
}

/* ── NOISE GRAIN OVERLAY ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  animation: grain-shift 0.4s steps(1) infinite;
}
@keyframes grain-shift {
  0% {
    background-position: 0 0;
  }
  25% {
    background-position: 40px -20px;
  }
  50% {
    background-position: -30px 10px;
  }
  75% {
    background-position: 20px 30px;
  }
  100% {
    background-position: 0 0;
  }
}

/* ── MAIN WRAPPER ── */
#app {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 0;
}

/* ── LOGO AREA ── */
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s ease 0.2s both;
  margin-bottom: 10px;
}
.logo-emblem {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 18px;
}
.logo-emblem svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 18px rgba(61, 139, 255, 0.7));
}
.logo-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 22px rgba(61, 139, 255, 0.85))
    drop-shadow(0 0 45px rgba(61, 139, 255, 0.4));
}
.logo-pulse {
  position: absolute;
  inset: -10px;
  border: 1.5px solid rgba(61, 139, 255, 0.3);
  border-radius: 50%;
  animation: pulse-ring 2.5s ease-out infinite;
}
.logo-pulse:nth-child(2) {
  inset: -22px;
  animation-delay: 0.8s;
  opacity: 0.5;
}
.logo-pulse:nth-child(3) {
  inset: -36px;
  animation-delay: 1.6s;
  opacity: 0.25;
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ── BRAND NAME ── */
.brand-name {
  font-family: var(--display);
  font-size: clamp(2.2rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  background: linear-gradient(
    135deg,
    #e8f0ff 0%,
    var(--sky-glow) 40%,
    #ffffff 60%,
    var(--gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
  animation: brand-flicker 6s ease-in-out infinite;
}
@keyframes brand-flicker {
  0%,
  95%,
  100% {
    opacity: 1;
  }
  96% {
    opacity: 0.8;
  }
  97% {
    opacity: 1;
  }
  98% {
    opacity: 0.9;
  }
}
.brand-sub {
  font-family: var(--mono);
  font-size: clamp(0.65rem, 2.5vw, 0.9rem);
  color: var(--sky-light);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.85;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 24px;
  width: min(520px, 90vw);
  animation: fadeUp 1s ease 0.5s both;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--sky-light),
    transparent
  );
}
.divider-icon {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold);
}

/* ── TAGLINE ── */
.tagline {
  font-family: var(--body);
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.6;
  max-width: 600px;
  opacity: 0.88;
  animation: fadeUp 1s ease 0.6s both;
  margin-bottom: 36px;
}
.tagline em {
  color: var(--sky-glow);
  font-style: normal;
  font-weight: 600;
}

/* ── STATUS BADGE ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(61, 139, 255, 0.35);
  background: rgba(10, 79, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 7px 22px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--sky-light);
  text-transform: uppercase;
  margin-bottom: 44px;
  animation: fadeUp 1s ease 0.35s both;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22ff88;
  box-shadow:
    0 0 8px #22ff88,
    0 0 20px #22ff88;
  animation: blink-dot 1.4s ease-in-out infinite;
}
@keyframes blink-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

/* ── COUNTDOWN ── */
.countdown-wrap {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  margin-bottom: 48px;
  animation: fadeUp 1s ease 0.8s both;
}
.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.count-box {
  position: relative;
  width: clamp(70px, 16vw, 110px);
  height: clamp(70px, 16vw, 110px);
  background: rgba(6, 15, 36, 0.7);
  border: 1px solid rgba(61, 139, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.count-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 139, 255, 0.12) 0%,
    transparent 60%
  );
}
.count-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--sky-light),
    transparent
  );
  animation: scan-line 3s linear infinite;
}
@keyframes scan-line {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(110px);
    opacity: 0;
  }
}
.count-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-shadow:
    0 0 20px var(--sky-glow),
    0 0 40px rgba(61, 139, 255, 0.5);
  position: relative;
  z-index: 1;
  transition: transform 0.15s;
}
.count-num.flip {
  transform: scale(0.85);
}
.count-label {
  font-family: var(--mono);
  font-size: clamp(0.5rem, 1.5vw, 0.65rem);
  letter-spacing: 0.25em;
  color: var(--sky-light);
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.7;
}
.count-sep {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--sky-light);
  opacity: 0.4;
  align-self: center;
  padding-bottom: 22px;
  animation: colon-blink 1s step-start infinite;
}
@keyframes colon-blink {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0;
  }
}

/* ── PROGRESS BAR ── */
.progress-wrap {
  width: min(520px, 88vw);
  margin-bottom: 42px;
  animation: fadeUp 1s ease 1s both;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--sky-light);
  opacity: 0.7;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.progress-track {
  width: 100%;
  height: 4px;
  background: rgba(61, 139, 255, 0.15);
  border-radius: 4px;
  overflow: visible;
  position: relative;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--sky) 0%,
    var(--sky-glow) 80%,
    var(--gold) 100%
  );
  box-shadow: 0 0 12px var(--sky-glow);
  position: relative;
  animation: fill-progress 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s both;
}
@keyframes fill-progress {
  from {
    width: 0%;
  }
  to {
    width: 72%;
  }
}
.progress-glow {
  position: absolute;
  right: -2px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 12px var(--gold),
    0 0 28px var(--gold);
}

/* ── SERVICES PILLS ── */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 600px;
  margin-bottom: 48px;
  animation: fadeUp 1s ease 1.1s both;
}
.pill {
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.8vw, 0.72rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid rgba(61, 139, 255, 0.28);
  border-radius: 40px;
  background: rgba(10, 79, 255, 0.07);
  color: var(--sky-light);
  backdrop-filter: blur(6px);
  transition:
    border-color 0.3s,
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
  cursor: none;
}
.pill:hover {
  border-color: var(--sky-glow);
  background: rgba(61, 139, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 16px rgba(61, 139, 255, 0.25);
}

/* ── NOTIFY FORM ── */
.notify-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeUp 1s ease 1.3s both;
  margin-bottom: 40px;
}
.notify-label {
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.6;
}
.notify-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(61, 139, 255, 0.35);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(6, 15, 36, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(10, 79, 255, 0.1);
  width: min(460px, 90vw);
}
.notify-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--white);
  letter-spacing: 0.08em;
}
.notify-input::placeholder {
  color: rgba(61, 139, 255, 0.4);
}
.notify-btn {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-light) 100%);
  border: none;
  cursor: none;
  padding: 14px 24px;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
  transition:
    filter 0.2s,
    transform 0.1s;
  white-space: nowrap;
}
.notify-btn:hover {
  filter: brightness(1.25);
}
.notify-btn:active {
  transform: scale(0.97);
}
.notify-success {
  display: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #22ff88;
  letter-spacing: 0.18em;
  animation: fadeUp 0.5s ease both;
}
.notify-success.show {
  display: block;
}

/* ── SOCIAL LINKS ── */
.socials {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  animation: fadeUp 1s ease 1.5s both;
}
.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(61, 139, 255, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 15, 36, 0.5);
  backdrop-filter: blur(8px);
  color: var(--sky-light);
  text-decoration: none;
  font-size: 1rem;
  transition:
    border-color 0.3s,
    color 0.3s,
    box-shadow 0.3s,
    transform 0.2s;
  cursor: none;
}
.social-btn:hover {
  border-color: var(--sky-glow);
  color: #fff;
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.35);
  transform: translateY(-3px);
}

/* ── FOOTER ── */
.footer-line {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: rgba(61, 139, 255, 0.35);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: fadeUp 1s ease 1.6s both;
  text-align: center;
}

/* ── CORNER DECORATIONS ── */
.corner {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 5;
  pointer-events: none;
}
.corner-tl {
  top: 20px;
  left: 20px;
  border-top: 2px solid rgba(61, 139, 255, 0.35);
  border-left: 2px solid rgba(61, 139, 255, 0.35);
}
.corner-tr {
  top: 20px;
  right: 20px;
  border-top: 2px solid rgba(61, 139, 255, 0.35);
  border-right: 2px solid rgba(61, 139, 255, 0.35);
}
.corner-bl {
  bottom: 20px;
  left: 20px;
  border-bottom: 2px solid rgba(61, 139, 255, 0.35);
  border-left: 2px solid rgba(61, 139, 255, 0.35);
}
.corner-br {
  bottom: 20px;
  right: 20px;
  border-bottom: 2px solid rgba(61, 139, 255, 0.35);
  border-right: 2px solid rgba(61, 139, 255, 0.35);
}
.corner::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--sky-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sky-light);
}
.corner-tl::before {
  top: -3px;
  left: -3px;
}
.corner-tr::before {
  top: -3px;
  right: -3px;
}
.corner-bl::before {
  bottom: -3px;
  left: -3px;
}
.corner-br::before {
  bottom: -3px;
  right: -3px;
}

/* ── SCAN LINES ── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
}

/* ── FLOATING PARTICLES ── */
.particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: var(--sky-glow);
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ── GLITCH LINE ── */
.glitch-line {
  position: fixed;
  z-index: 4;
  pointer-events: none;
  height: 1px;
  background: rgba(61, 139, 255, 0.5);
  width: 100%;
  left: 0;
  animation: glitch-sweep 8s ease-in-out infinite;
}
@keyframes glitch-sweep {
  0%,
  100% {
    top: -5%;
    opacity: 0;
  }
  5% {
    opacity: 0.7;
  }
  15% {
    top: 110%;
    opacity: 0;
  }
  15.1%,
  99% {
    opacity: 0;
  }
}

/* ── UTILITY ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .count-sep {
    display: none;
  }
  .countdown-wrap {
    gap: 8px;
  }
  .corner {
    width: 36px;
    height: 36px;
  }
  #cursor,
  #cursor-ring {
    display: none;
  }
  body {
    cursor: auto;
  }
  .pill {
    font-size: 0.6rem;
    padding: 6px 12px;
  }
}
