:root {
  --background: 245 28% 6%;
  --foreground: 210 40% 98%;
  --primary: 326 100% 66%;
  --secondary: 187 89% 57%;
  --accent: 263 90% 65%;
  --muted: 246 18% 15%;
  --destructive: 0 78% 61%;
  --border: 248 23% 20%;
  --card: 247 24% 10%;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 90px rgba(236, 72, 153, 0.2);
  --transition-fast: 180ms ease;
  --transition-smooth: 500ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
}

.dark {
  --background: 245 28% 6%;
  --foreground: 210 40% 98%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.12), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(244, 114, 182, 0.15), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
    hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(244, 114, 182, 0.4);
  color: white;
}

.luxury-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.15);
}

.neon-ring {
  position: relative;
}

.neon-ring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(244,114,182,0.9), rgba(34,211,238,0.8), rgba(168,85,247,0.8));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}

.hero-orb,
.hero-orb-2,
.hero-orb-3 {
  position: absolute;
  filter: blur(80px);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  width: 350px;
  height: 350px;
  background: rgba(244, 114, 182, 0.15);
  top: -100px;
  right: -50px;
  animation: floaty 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(34, 211, 238, 0.12);
  bottom: -80px;
  left: -40px;
  animation: floaty 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(168, 85, 247, 0.1);
  top: 40%;
  left: 30%;
  animation: floaty 18s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  33% { transform: translateY(-25px) translateX(15px) rotate(5deg); }
  66% { transform: translateY(15px) translateX(-20px) rotate(-5deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1), transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-gradient {
  background: linear-gradient(135deg, #fff 20%, rgba(244,114,182,1) 60%, rgba(34,211,238,1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.demo-screen {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(244,114,182,0.15), rgba(34,211,238,0.12), rgba(168,85,247,0.12));
}

.floating-glow {
  box-shadow: 0 15px 45px rgba(34, 211, 238, 0.25), 0 10px 30px rgba(244, 114, 182, 0.2);
}

.offer-pop {
  animation: popIn 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 37%, rgba(255,255,255,0.05) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.6s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

input,
select,
textarea {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: hsl(var(--foreground));
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: hsl(var(--secondary));
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

.btn-premium {
  background: linear-gradient(135deg, rgba(244,114,182,1) 0%, rgba(168,85,247,1) 50%, rgba(34,211,238,1) 100%);
  background-size: 200% auto;
  transition: 0.5s;
  color: white;
  box-shadow: 0 10px 25px rgba(244,114,182,0.3);
}

.btn-premium:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(244,114,182,0.4);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.step-number {
  background: linear-gradient(135deg, rgba(244,114,182,1), rgba(34,211,238,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.2;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}
