:root {
  --bg-primary: #080D18;
  --bg-secondary: #0D1426;
  --bg-elevated: #121A30;

  --brand-blue: #4F7CFF;
  --brand-purple: #7C6CFF;
  --brand-cyan: #3FD0E6;

  --accent-primary: #6366F1;
  --accent-hover: #7C83FF;
  --accent-active: #4F46E5;

  --glow-blue: rgba(79, 124, 255, 0.22);
  --glow-purple: rgba(124, 108, 255, 0.22);
  --glow-cyan: rgba(63, 208, 230, 0.22);

  --status-draft: #6B7280;
  --status-plan: #475569;
  --status-film: #3FD0E6;
  --status-edit: #7C6CFF;
  --status-post: #10B981;
  --status-hold: #EF4444;

  --text-primary: #E5E7EB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 108, 255, 0.25);
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(79, 124, 255, 0.08), transparent 32rem),
    radial-gradient(circle at 85% 20%, rgba(63, 208, 230, 0.06), transparent 26rem),
    linear-gradient(180deg, #0b1120 0%, var(--bg-primary) 46%, var(--bg-secondary) 100%);
}

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

a {
  color: inherit;
}

input,
button {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.015), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  width: min(1440px, calc(100% - 3rem));
  min-height: calc(100vh - 6rem);
  margin: 0 auto;
  padding: 4.5rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.42fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-copy {
  max-width: 500px;
}

.brand-mark {
  width: clamp(112px, 12vw, 148px);
  margin-bottom: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32), 0 0 36px var(--glow-blue);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 999px;
  background: rgba(18, 26, 48, 0.82);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.status-pill::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 12px rgba(63, 208, 230, 0.3);
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 11ch;
}

.hero-text {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}

.waitlist-form {
  margin-top: 2rem;
}

.form-row {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
}

.waitlist-form input {
  flex: 1 1 15rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  background: rgba(18, 26, 48, 0.88);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.waitlist-form input::placeholder {
  color: var(--text-muted);
}

.waitlist-form button {
  padding: 1rem 1.35rem;
  border: 1px solid rgba(124, 108, 255, 0.32);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.92), rgba(79, 70, 229, 0.92));
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(23, 31, 63, 0.42), 0 0 24px rgba(124, 108, 255, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.waitlist-form button:hover {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent-primary));
  box-shadow: 0 12px 32px rgba(23, 31, 63, 0.48), 0 0 28px rgba(124, 108, 255, 0.22);
  transform: translateY(-1px);
}

.waitlist-form button:active {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-active));
  transform: translateY(0);
}

.waitlist-form input:focus-visible,
.waitlist-form button:focus-visible,
.secondary-link:focus-visible {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow:
    0 0 0 3px rgba(63, 208, 230, 0.18),
    0 0 0 1px rgba(63, 208, 230, 0.5);
}

.form-helper {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.secondary-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 160ms ease;
}

.secondary-link:hover {
  color: var(--text-primary);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.mockup-card {
  position: relative;
  width: min(100%, 820px);
  padding: 0.625rem;
  border: 1px solid var(--border-subtle);
  border-radius: 1.75rem;
  background:
    linear-gradient(180deg, rgba(18, 26, 48, 0.96), rgba(13, 20, 38, 0.92));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mockup-note {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  z-index: 1;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.95rem;
  background: rgba(8, 13, 24, 0.78);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

.mockup-frame {
  overflow: hidden;
  padding-top: 3.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 16%),
    var(--bg-elevated);
}

.mockup-frame img {
  width: 100%;
  height: auto;
}

.site-footer {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-top: 3.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    justify-content: stretch;
  }

  .mockup-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    width: min(100% - 1.5rem, 1200px);
    min-height: auto;
    gap: 1.65rem;
    padding-top: 2rem;
    padding-bottom: 1.6rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .waitlist-form {
    margin-top: 1.45rem;
  }

  .waitlist-form input,
  .waitlist-form button {
    border-radius: 0.9rem;
  }

  .waitlist-form input {
    flex: 0 0 auto;
    width: 100%;
    height: 3.5rem;
    padding: 0 1rem;
    line-height: 1.25;
  }

  .waitlist-form button {
    width: 100%;
    height: 3.5rem;
    padding: 0 1rem;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1;
    max-width: 12ch;
  }

  .hero-text {
    margin-top: 1.1rem;
    max-width: 30rem;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .form-helper {
    margin-top: 0.75rem;
    font-size: 0.89rem;
    line-height: 1.5;
  }

  .secondary-link {
    margin-top: 0.8rem;
  }

  .mockup-note {
    position: static;
    margin-bottom: 0.7rem;
  }

  .mockup-frame img {
    height: auto;
  }

  .hero-visual {
    margin-top: 0.3rem;
  }

  .mockup-card {
    padding: 0.5rem;
  }

  .site-footer {
    width: min(100% - 1.5rem, 1200px);
    padding-bottom: 2rem;
  }
}
