/* ==========================================================================
   chatgtp.be — one-pager stylesheet (BEM)
   ========================================================================== */

:root {
  --color-bg: #0b0f14;
  --color-text: #e8eef6;
  --color-muted: #9db0c6;
  --color-accent: #10a37f;
  --color-accent-bright: #1fd1a1;
  --color-warn: #ffb347;
  --color-wrong: #ff6b6b;

  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.page__main {
  flex: 1 1 auto;
  display: flex;
}

/* Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("/assets/img/aurora-bg.webp") center 20% / cover no-repeat,
    var(--color-bg);
}

/* Vignette so the type always sits on a dark, readable ground. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 55%, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.35) 70%, transparent),
    linear-gradient(to bottom, rgba(11, 15, 20, 0.35), rgba(11, 15, 20, 0.75));
}

.hero__inner {
  text-align: center;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 179, 71, 0.35);
  border-radius: 999px;
  background: rgba(255, 179, 71, 0.1);
  color: var(--color-warn);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__wrong,
.hero__right {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__wrong {
  font-size: clamp(2rem, 8vw, 3.4rem);
  color: var(--color-wrong);
  text-decoration: line-through;
  text-decoration-thickness: 0.05em;
  opacity: 0.75;
}

.hero__right {
  font-size: clamp(2.8rem, 13vw, 6rem);
  color: var(--color-accent-bright);
  text-shadow: 0 0 60px rgba(31, 209, 161, 0.45);
}

.hero__swap { text-decoration: underline; text-underline-offset: 0.15em; }

.hero__arrow {
  margin: 0.6rem 0;
  color: var(--color-muted);
  font-size: 1.1rem;
}

/* Button ---------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 3rem;
  padding: 1.15rem 2.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-bright));
  color: #04140f;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(31, 209, 161, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(31, 209, 161, 0.42);
}

.button:focus-visible { outline: 3px solid var(--color-accent-bright); outline-offset: 4px; }

/* Footer ---------------------------------------------------------------- */

.footer {
  flex: 0 0 auto;
  padding: 1.5rem;
  text-align: center;
}

.footer__note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
