:root {
  --background: 230 32% 7%;
  --foreground: 220 22% 95%;
  --primary: 262 92% 68%;
  --secondary: 190 92% 60%;
  --muted: 226 18% 17%;
  --muted-foreground: 223 18% 70%;
  --destructive: 0 72% 58%;
  --border: 227 24% 22%;
  --card: 228 28% 12%;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 18px 50px rgba(5, 8, 20, 0.34);
  --shadow-lg: 0 26px 70px rgba(6, 8, 24, 0.55);
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 420ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

.dark {
  --background: 230 32% 7%;
  --foreground: 220 22% 95%;
  --primary: 262 92% 68%;
  --secondary: 190 92% 60%;
  --muted: 226 18% 17%;
  --muted-foreground: 223 18% 70%;
  --destructive: 0 72% 58%;
  --border: 227 24% 22%;
  --card: 228 28% 12%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

::selection {
  background: hsla(262, 92%, 68%, 0.35);
  color: white;
}

.glass-card {
  background: linear-gradient(180deg, hsla(228, 28%, 12%, 0.82), hsla(228, 28%, 12%, 0.58));
  border: 1px solid hsla(227, 24%, 30%, 0.7);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-panel {
  background: linear-gradient(180deg, hsla(228, 28%, 15%, 0.56), hsla(228, 28%, 10%, 0.78));
  border: 1px solid hsla(227, 24%, 34%, 0.72);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.cta-button {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: 0 16px 50px rgba(96, 92, 255, 0.28);
  transition: transform var(--transition-fast), box-shadow var(--transition-smooth), filter var(--transition-fast);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.26) 45%, transparent 70%);
  background-size: 220% 100%;
  animation: shine 5s linear infinite;
  pointer-events: none;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.01);
  filter: saturate(1.08);
  box-shadow: 0 20px 55px rgba(96, 92, 255, 0.34);
}

.service-pricing-card {
  transform-style: preserve-3d;
}

.service-pricing-card:hover {
  box-shadow: 0 30px 85px rgba(6, 8, 24, 0.6), 0 0 0 1px hsla(262, 92%, 68%, 0.18), 0 0 70px hsla(262, 92%, 68%, 0.14);
}

.form-input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid hsla(227, 24%, 30%, 0.9);
  background: hsla(228, 28%, 12%, 0.6);
  color: hsl(var(--foreground));
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:focus {
  border-color: hsla(262, 92%, 68%, 0.65);
  box-shadow: 0 0 0 4px hsla(262, 92%, 68%, 0.12);
}

.form-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.hero-scene {
  position: relative;
  perspective: 1200px;
}

.floating-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  animation: drift 16s ease-in-out infinite;
  pointer-events: none;
}

.floating-shape-a {
  top: -18px;
  right: 26px;
  width: 96px;
  height: 96px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.28), rgba(255,255,255,0.08) 25%, rgba(139,92,246,0.22) 60%, transparent 72%);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
}

.floating-shape-b {
  bottom: 42px;
  left: -10px;
  width: 72px;
  height: 72px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22), rgba(255,255,255,0.08) 20%, rgba(34,211,238,0.24) 60%, transparent 74%);
  animation-delay: -5s;
  box-shadow: 0 0 50px rgba(34, 211, 238, 0.18);
}

.floating-shape-c {
  top: 44%;
  right: -18px;
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.24), rgba(236,72,153,0.2) 58%, transparent 74%);
  animation-delay: -9s;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.42;
}

.orb-1 {
  top: 0;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: hsla(262, 92%, 68%, 0.3);
}

.orb-2 {
  top: 22%;
  right: 8%;
  width: 18rem;
  height: 18rem;
  background: hsla(190, 92%, 60%, 0.18);
}

.orb-3 {
  bottom: 0;
  left: 24%;
  width: 14rem;
  height: 14rem;
  background: hsla(288, 88%, 62%, 0.16);
}

.grid-fade {
  background-image:
    linear-gradient(hsla(0,0%,100%,0.04) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0,0%,100%,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
}

.preview-window,
.glass-card,
.glass-panel {
  transform-style: preserve-3d;
}

@media (max-width: 640px) {
  .floating-shape-a,
  .floating-shape-b,
  .floating-shape-c {
    transform: scale(0.82);
  }
}

@keyframes shine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  33% {
    transform: translate3d(18px, -24px, 0) rotate(6deg);
  }
  66% {
    transform: translate3d(-12px, 14px, 0) rotate(-4deg);
  }
}

a {
  text-decoration: none;
}
