/* style.css */
:root {
  --bg: #070713;
  --text: #ffffff;
  --muted: rgba(255,255,255,.68);
  --accent: #ff3df2;
  --accent-2: #22f4ff;
  --accent-3: #ffe347;
  --glass: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.16);
}

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

@font-face {
  font-family: "Dwight";
  src:
    url("/assets/Dwight-Regular.woff2") format("woff2"),
    url("/assets/Dwight-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dwight";
  src:
    url("/assets/Dwight-Medium.woff2") format("woff2"),
    url("/assets/Dwight-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dwight";
  src:
    url("/assets/Dwight-Bold.woff2") format("woff2"),
    url("/assets/Dwight-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Dwight", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

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

.content-layer {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 96px;
  width: 100%;
  min-height: 100vh;
  padding: 32px 32px 120px;
}

.bg-glow,
.bg-grid,
.noise,
.bubble-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-glow {
  z-index: -5;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 61, 242, .34), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(34, 244, 255, .28), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(255, 227, 71, .18), transparent 28%),
    linear-gradient(135deg, #080716 0%, #10102a 48%, #070713 100%);
  animation: glowPulse 8s ease-in-out infinite alternate;
}

.bg-grid {
  z-index: -4;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  animation: gridDrift 18s linear infinite;
}

.noise {
  z-index: -3;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.spotlight {
  position: absolute;
  width: 44vw;
  height: 120vh;
  top: -16vh;
  left: 50%;
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(255,255,255,.18), transparent 72%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  filter: blur(16px);
  opacity: .38;
  z-index: -2;
  animation: spotlightMove 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero {
  width: min(100%, 920px);
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 28px;
  animation: heroIn 900ms cubic-bezier(.2,.9,.2,1) both;
}

.logo-stage {
  position: relative;
  width: min(58vw, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.pulse-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  animation: ringPulse 2.8s ease-out infinite;
}

.pulse-ring:nth-child(2) {
  animation-delay: .7s;
}

.pulse-ring:nth-child(3) {
  animation-delay: 1.4s;
}

.logo-card {
  position: relative;
  width: 74%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  box-shadow:
    0 30px 100px rgba(0,0,0,.42),
    0 0 72px rgba(255,61,242,.20),
    inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: floatLogo 4.4s ease-in-out infinite;
  overflow: hidden;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 180deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  opacity: .55;
  filter: blur(18px);
  z-index: -1;
  animation: spin 7s linear infinite;
}

.logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.26) 48%, transparent 68%);
  transform: translateX(-120%);
  animation: shine 4.8s ease-in-out infinite;
}

.logo-placeholder {
  position: relative;
  z-index: 1;
  width: 72%;
  display: grid;
  place-items: center;
}

.logo-placeholder svg,
.logo-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.32));
}

.fallback-logo {
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .9;
  background: linear-gradient(90deg, #fff, #e8faff, #fff4a4);
  -webkit-background-clip: text;
  color: transparent;
  text-transform: lowercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #57ff7a;
  box-shadow: 0 0 18px #57ff7a;
  animation: liveBlink 1.2s ease-in-out infinite;
}

h1 {
  max-width: 860px;
  font-size: clamp(44px, 8vw, 108px);
  line-height: .88;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(90deg, #fff, var(--accent-2), var(--accent-3), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
  background-size: 180% auto;
  animation: gradientMove 4s ease-in-out infinite alternate;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.45;
  text-wrap: balance;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary {
  background: #fff;
  color: #080713;
  border-color: #fff;
  box-shadow: 0 18px 52px rgba(255,255,255,.22);
}

.btn-secondary {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.message-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 12px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.02em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  animation: chipFloat 8s ease-in-out infinite;
}

.message-chip span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

.chip-1 { top: 15%; left: 7%; animation-delay: -.5s; }
.chip-2 { top: 19%; right: 8%; animation-delay: -2.5s; }
.chip-3 { bottom: 16%; left: 9%; animation-delay: -4s; }
.chip-4 { bottom: 18%; right: 7%; animation-delay: -6s; }

.contact-section {
  width: min(100%, 980px);
  scroll-margin-top: 40px;
  animation: heroIn 900ms cubic-bezier(.2,.9,.2,1) both;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 34px;
  background: rgba(8, 8, 22, .54);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 28px 90px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025)),
    radial-gradient(circle at 20% 20%, rgba(255,61,242,.14), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(34,244,255,.10), transparent 34%);
  pointer-events: none;
}

.contact-intro,
.contact-form {
  position: relative;
  z-index: 1;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: .95;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.contact-intro p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(4, 4, 14, .56);
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 12px 32px rgba(0, 0, 0, .16);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form textarea {
  min-height: 120px;
  padding-top: 16px;
  line-height: 1.45;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 15px;
  color: rgba(255, 255, 255, .32);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(34, 244, 255, .62);
  background: rgba(4, 4, 14, .74);
  box-shadow:
    0 0 0 4px rgba(34, 244, 255, .10),
    0 14px 36px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.form-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 6px;
  border: 0;
  font-size: 15px;
}

.ticker {
  position: fixed;
  z-index: 3;
  inset: auto 0 24px;
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.ticker-track {
  display: flex;
  gap: 28px;
  min-width: max-content;
  animation: tickerMove 22s linear infinite;
}

.ticker span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bubble {
  position: absolute;
  bottom: -80px;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.72), rgba(255,255,255,.12) 28%, rgba(255,255,255,.03) 70%);
  left: var(--left);
  opacity: var(--opacity);
  filter: blur(.2px);
  animation: bubbleUp var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glowPulse {
  from { filter: saturate(1) hue-rotate(0deg); transform: scale(1); }
  to { filter: saturate(1.25) hue-rotate(12deg); transform: scale(1.04); }
}

@keyframes gridDrift {
  to { background-position: 56px 56px; }
}

@keyframes spotlightMove {
  from { transform: translateX(-50%) rotate(-8deg); }
  to { transform: translateX(-50%) rotate(8deg); }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes ringPulse {
  0% { transform: scale(.68); opacity: 0; }
  24% { opacity: .72; }
  100% { transform: scale(1.32); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shine {
  0%, 46% { transform: translateX(-130%); }
  68%, 100% { transform: translateX(130%); }
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.72); }
}

@keyframes gradientMove {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}

@keyframes chipFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(1deg); }
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes bubbleUp {
  from { transform: translateY(0) scale(.7); }
  to { transform: translateY(-120vh) scale(1.1); }
}

@media (max-width: 860px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .content-layer {
    gap: 54px;
    padding: 24px 18px 96px;
  }

  .hero {
    min-height: calc(100svh - 48px);
    gap: 22px;
  }

  .logo-stage {
    width: min(78vw, 340px);
  }

  .message-chip {
    display: none;
  }

  .cta-row,
  .btn,
  .form-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
