:root {
  --bg: #07060d;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f2ff;
  --muted: #a9a5c2;
  --pink: #ff3db8;
  --cyan: #2ee6ff;
  --violet: #8b5cff;
  --lime: #b6ff3d;
  --radius: 14px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* Background light trails */
.lights {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.lights span {
  position: absolute;
  width: 40vmax;
  height: 40vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}

.lights span:nth-child(1) { background: var(--pink); top: -10%; left: -10%; }
.lights span:nth-child(2) { background: var(--cyan); bottom: -15%; right: -10%; animation-delay: -6s; }
.lights span:nth-child(3) { background: var(--violet); top: 30%; left: 40%; width: 30vmax; height: 30vmax; animation-delay: -12s; }

@keyframes drift {
  to { transform: translate(8vw, 6vh) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .lights span { animation: none; }
}

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.logo span {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links form {
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-primary {
  border: none;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 0 24px rgba(255, 61, 184, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 0 36px rgba(255, 61, 184, 0.7);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 90px 0 70px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 11vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan), var(--lime), var(--pink));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(139, 92, 255, 0.45));
  animation: shimmer 10s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; }
}

.tagline {
  max-width: 560px;
  margin: 24px auto 36px;
  color: var(--muted);
  font-size: 1.2rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.welcome {
  margin: 0 0 24px;
  font-size: 1.1rem;
}

.welcome strong {
  color: var(--cyan);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 30px 0 90px;
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}

.card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  font-size: 1.3rem;
}

.card:nth-child(1) .icon { background: rgba(255, 61, 184, 0.15); box-shadow: 0 0 18px rgba(255, 61, 184, 0.35); }
.card:nth-child(2) .icon { background: rgba(46, 230, 255, 0.15); box-shadow: 0 0 18px rgba(46, 230, 255, 0.35); }
.card:nth-child(3) .icon { background: rgba(182, 255, 61, 0.15); box-shadow: 0 0 18px rgba(182, 255, 61, 0.35); }

.card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 520px) {
  .nav .btn { padding: 9px 16px; font-size: 0.9rem; }
  .hero { padding: 60px 0 50px; }
}
