/* =============================================
   DO IT MAGIC SOFTWARE — Coming Soon
   Design: Dark premium, futuristic, AI-inspired
   ============================================= */

:root {
  --clr-bg: #050810;
  --clr-bg2: #080d1a;
  --clr-blue: #1a3aff;
  --clr-blue-mid: #2d52ff;
  --clr-blue-lite: #4d72ff;
  --clr-pixel: #3d62ff;
  --clr-accent: #7c5cfc;
  --clr-glow: #2d52ff;
  --clr-text: #e8eeff;
  --clr-muted: #6b7a99;
  --clr-border: rgba(45, 82, 255, 0.18);
  --clr-glass: rgba(13, 20, 50, 0.55);
  --font-mono: 'Space Mono', 'Share Tech Mono', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* =============================================
   VIDEO / CANVAS BACKGROUND
   ============================================= */
.video-bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

#bgVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 82, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(124, 92, 252, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.30) 0%, rgba(5, 8, 16, 0.70) 100%);
}

/* SCANLINES */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.04) 3px,
      rgba(0, 0, 0, 0.04) 4px);
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 100px;
  }
}

/* NOISE */
.noise-overlay {
  position: fixed;
  inset: -50%;
  z-index: 4;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: noiseAnim 0.15s steps(2) infinite;
}

@keyframes noiseAnim {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(2px, -2px);
  }

  50% {
    transform: translate(-2px, 2px);
  }

  75% {
    transform: translate(2px, 2px);
  }

  100% {
    transform: translate(-2px, -2px);
  }
}

/* MOUSE GLOW */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 800px;
  height: 800px;
  margin-left: -400px;
  margin-top: -400px;
  background: radial-gradient(circle,
      rgba(77, 114, 255, 0.18) 0%,
      rgba(45, 82, 255, 0.10) 30%,
      rgba(45, 82, 255, 0.04) 55%,
      transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s;
  will-change: transform;
}

/* =============================================
   PAGE LAYOUT
   ============================================= */
.page-wrap {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(5, 8, 16, 0.50);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--clr-border);
  animation: fadeDown 0.8s ease both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NAV LOGO */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.nav-brand-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-text);
  opacity: 0.9;
}

.logo-pixel {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--clr-blue);
  padding: 4px 10px;
  image-rendering: pixelated;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-bracket {
  font-weight: 700;
}

.logo-under {
  margin: 0 1px;
}

.logo-magic {
  display: inline-flex;
  align-items: center;
  background: var(--clr-blue);
  color: #fff;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* NAV CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  padding: 9px 22px;
  border-radius: 100px;
  background: rgba(45, 82, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: rgba(45, 82, 255, 0.18);
  border-color: rgba(45, 82, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 20px rgba(45, 82, 255, 0.25);
}

.cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4dff91;
  box-shadow: 0 0 8px #4dff91;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 24px 120px;
  gap: 32px;
}

/* STATUS BADGE */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-blue-lite);
  border: 1px solid rgba(45, 82, 255, 0.25);
  background: rgba(45, 82, 255, 0.06);
  backdrop-filter: blur(8px);
  padding: 7px 18px;
  border-radius: 100px;
  animation: fadeUp 0.9s 0.1s ease both;
}

.badge-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-blue-lite);
  box-shadow: 0 0 10px var(--clr-blue-lite);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* HERO LOGO */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: fadeUp 1s 0.2s ease both;
  user-select: none;
}

.logo-row {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hl-bracket {
  color: var(--clr-blue-lite);
  opacity: 0.8;
}

.hl-do {
  color: var(--clr-text);
}

.hl-dot {
  color: var(--clr-accent);
  margin: 0 1px;
}

.hl-it {
  color: var(--clr-text);
}

.hl-under {
  color: var(--clr-blue-lite);
  margin-left: 6px;
  animation: blink-under 1.1s step-end infinite;
}

@keyframes blink-under {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.logo-magic-big {
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  background: linear-gradient(135deg, #3d62ff 0%, #8b6fff 50%, #3d62ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradMove 4s ease infinite;
  text-shadow: none;
  margin-top: -4px;
}

@keyframes gradMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.5vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.38em;
  color: var(--clr-muted);
  margin-top: 6px;
}

/* TAGLINE TYPED */
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--clr-muted);
  letter-spacing: 0.04em;
  min-height: 1.6em;
  animation: fadeUp 1s 0.35s ease both;
  display: flex;
  align-items: center;
  gap: 2px;
}

.cursor-blink {
  color: var(--clr-blue-lite);
  animation: blink-cursor 0.8s step-end infinite;
  font-weight: 300;
}

@keyframes blink-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* SERVICES PILLS */
.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 1s 0.45s ease both;
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  background: var(--clr-glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: 0.02em;
  cursor: default;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 82, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-pill:hover {
  border-color: rgba(45, 82, 255, 0.45);
  box-shadow: 0 0 28px rgba(45, 82, 255, 0.18), inset 0 0 16px rgba(45, 82, 255, 0.05);
  transform: translateY(-2px);
}

.service-pill:hover::before {
  opacity: 1;
}

.pill-icon {
  font-size: 1rem;
  color: var(--clr-blue-lite);
  line-height: 1;
}

/* CTA BUTTONS */
.hero-cta-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1s 0.55s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-accent) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(45, 82, 255, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(45, 82, 255, 0.50);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary svg {
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: rgba(45, 82, 255, 0.4);
  color: var(--clr-text);
  background: rgba(45, 82, 255, 0.07);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 40px;
  border-top: 1px solid var(--clr-border);
  background: rgba(5, 8, 16, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeUp 1s 0.7s ease both;
}

.footer-company {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-detail {
  font-size: 0.72rem;
  color: var(--clr-muted);
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.footer-center {
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--clr-blue-lite);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.footer-links a:hover {
  color: #fff;
}

.footer-sep {
  color: var(--clr-muted);
  font-size: 0.72rem;
}

.footer-bank {
  font-size: 0.68rem;
  color: var(--clr-muted);
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
}

.footer-termene {
  font-size: 0.75rem;
  color: var(--clr-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
}

.footer-termene:hover {
  color: var(--clr-text);
  border-bottom-color: var(--clr-border);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .footer-center {
    order: -1;
  }

  .hero-cta-wrap {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-cta .cta-dot~span::before {
    content: '';
  }
}