/* Wizard Works – Coming Soon */

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

:root {
  --color-bg: #080b12;
  --color-bg-elevated: #0f1420;
  --color-text: #f0f2f7;
  --color-text-muted: #9aa3b5;
  --color-accent: #4f8cff;
  --color-accent-soft: rgba(79, 140, 255, 0.15);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.16);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max-width: 42rem;
  --header-height: 4.5rem;
  --transition: 0.25s ease;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Background */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(79, 140, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(99, 102, 241, 0.08), transparent),
    linear-gradient(180deg, #0a0e18 0%, var(--color-bg) 100%);
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.bg__glow--1 {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -6rem;
  background: rgba(79, 140, 255, 0.18);
}

.bg__glow--2 {
  width: 22rem;
  height: 22rem;
  bottom: -4rem;
  left: -4rem;
  background: rgba(99, 102, 241, 0.12);
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Header */

.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo__mark {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #6366f1 100%);
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.3);
}

.logo__text {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero */

.hero {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.hero__inner {
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #c8d0e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

/* Tags */

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 2.5rem;
}

.tags__item {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.tags__item:hover {
  color: var(--color-text);
  border-color: var(--color-border-hover);
  background: rgba(255, 255, 255, 0.06);
}

/* Buttons */

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

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

.btn:not(.btn--ghost) {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent) 0%, #6366f1 100%);
  border: 1px solid transparent;
  box-shadow: 0 4px 24px rgba(79, 140, 255, 0.25);
}

.btn:not(.btn--ghost):hover {
  box-shadow: 0 6px 32px rgba(79, 140, 255, 0.35);
  transform: translateY(-1px);
}

.btn:not(.btn--ghost):active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: auto;
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  color: var(--color-accent);
}

/* Footer */

.footer {
  position: relative;
  z-index: 10;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.footer__text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .btn:not(.btn--ghost):hover {
    transform: none;
  }
}

/* Larger screens */

@media (min-width: 40rem) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}
