@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");

html {
  min-height: 100%;
  background-color: #050708;
}

:root {
  --bg-1: #050708;
  --bg-2: #0c1017;
  --text-primary: #f6f6f6;
  --text-muted: #bfc6d1;
  --accent: #7fe0ff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.24);
  --glass-blur: 16px;
  --card-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

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

body.page {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #050708;
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(127, 224, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(255, 135, 108, 0.08), transparent 32%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  overflow-x: hidden;
}

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

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

.no-scroll {
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #050708;
  z-index: 999;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__content {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.loader__logo {
  width: clamp(320px, 48vw, 520px);
}

.loader__bar {
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(127, 224, 255, 0.3), rgba(255, 255, 255, 0.9), rgba(127, 224, 255, 0.3));
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
  opacity: 0.7;
}

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

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.footer-link {
  display: inline-block;
  min-width: 140px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: transform 120ms ease, border-color 180ms ease, background-color 180ms ease;
  color: var(--text-primary);
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.footer-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  overflow: hidden;
  isolation: isolate;
  background-color: #050708;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #050708;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.95);
  background-color: #050708;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(5, 7, 8, 0.8) 50%, rgba(5, 7, 8, 0.9) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: min(96vw, 1800px);
  padding: clamp(10px, 2vw, 16px);
  margin: 0 auto;
}

.hero__logo {
  transition: transform 320ms ease, opacity 320ms ease;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__logo img {
  width: clamp(900px, 90vw, 1700px);
  max-width: 100%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.hero__logo.dimmed {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
}

.hero__tagline {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  justify-items: center;
  gap: 12px;
  margin-top: 6px;
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-self: center;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-radius: 999px;
  padding: 12px 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.pill-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.pill-button:active {
  transform: translateY(0);
}

.pill-button--solid {
  background: linear-gradient(120deg, rgba(127, 224, 255, 0.18), rgba(255, 255, 255, 0.28));
  color: #0a0d12;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 24px rgba(127, 224, 255, 0.35);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 36px);
  background: rgba(5, 7, 8, 0.55);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__panel {
  position: relative;
  width: min(92vw, 820px);
  padding: 52px 24px 22px;
  border-radius: var(--radius);
  box-sizing: border-box;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
  color: var(--text-primary);
  outline: none;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
}

.modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modal__header h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal__body {
  display: grid;
  gap: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: #ffffff;
  color: #000;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: transform 120ms ease, box-shadow 180ms ease;
}

.modal__close:hover {
  transform: scale(1.02);
}

.modal__close:active {
  transform: scale(0.97);
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.stacked-form {
  display: grid;
  gap: 10px;
}

.input-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stacked-form input,
.stacked-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  outline: none;
  box-sizing: border-box;
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 16px rgba(0, 0, 0, 0.25);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.stacked-form input::placeholder,
.stacked-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.stacked-form input:focus,
.stacked-form textarea:focus {
  border-color: rgba(127, 224, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.instagram-embed {
  display: flex;
  justify-content: center;
}

.inline-link {
  color: var(--text-primary);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .hero {
    padding: 6px;
  }

  .hero__content {
    gap: 12px;
    margin: 0 auto;
    width: 100%;
    padding: 6px;
    align-items: center;
    justify-content: center;
  }

  .hero__logo img {
    width: clamp(820px, 120vw, 1800px);
    max-width: none;
  }

  .action-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .modal {
    padding: 12px;
  }

  .modal__panel {
    width: min(94vw, 540px);
    padding: 48px 12px 16px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100%;
  }

  .modal__body,
  .stacked-form {
    width: 100%;
  }
}

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