:root {
  --bg: #050505;
  --fg: #F4F4F5;
  --muted: #A1A1AA;
  --accent: #3FD0FF;
  --border: rgba(255, 255, 255, 0.08);
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.font-display {
  font-family: Syne, system-ui, sans-serif;
}

.nav-glass {
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-glass.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-atmosphere {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(63, 208, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(63, 208, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #050505 0%, #0A0A0A 100%);
  overflow: hidden;
}

.hero-grid {
  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: 64px 64px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  animation: gridDrift 28s linear infinite;
}

.ambient-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.55;
  will-change: transform;
}

.ambient-orb--a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: -8%;
  left: 8%;
  background: rgba(63, 208, 255, 0.28);
  animation: orbFloatA 14s ease-in-out infinite;
}

.ambient-orb--b {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  right: -4%;
  bottom: 12%;
  background: rgba(31, 184, 237, 0.22);
  animation: orbFloatB 18s ease-in-out infinite;
}

.ambient-orb--c {
  width: min(28vw, 280px);
  height: min(28vw, 280px);
  left: 42%;
  top: 38%;
  background: rgba(255, 255, 255, 0.06);
  animation: orbFloatC 22s ease-in-out infinite;
}

.surface {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.surface:hover {
  border-color: rgba(63, 208, 255, 0.35);
  background: rgba(63, 208, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(63, 208, 255, 0.08);
}

.surface-static {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.placeholder-visual {
  background: linear-gradient(145deg, #1A1A1A 0%, #0F0F0F 50%, #161616 100%);
  position: relative;
  overflow: hidden;
}

.placeholder-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(63, 208, 255, 0.08), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
}

.group:hover .placeholder-visual img,
.group:hover .media-zoom img {
  transform: scale(1.05);
}

.placeholder-visual img,
.media-zoom img {
  transition: transform 0.7s ease;
}

.media-shine {
  position: relative;
  overflow: hidden;
}

.media-shine::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}

.group:hover .media-shine::before {
  animation: shineSweep 0.9s ease forwards;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.65);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #F4F4F5;
}

.field::placeholder {
  color: #71717A;
}

.field:focus {
  border-color: rgba(63, 208, 255, 0.5);
  outline: none;
}

.label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A1A1AA;
}

.animate-marquee {
  animation: marquee 38s linear infinite;
  width: max-content;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-stage > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-stage > *:nth-child(1) { animation-delay: 0.05s; }
.hero-stage > *:nth-child(2) { animation-delay: 0.18s; }
.hero-stage > *:nth-child(3) { animation-delay: 0.3s; }
.hero-stage > *:nth-child(4) { animation-delay: 0.42s; }

.btn-glow {
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 0 rgba(63, 208, 255, 0.35);
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(63, 208, 255, 0.28);
  animation: none;
}

.link-arrow {
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.link-arrow:hover {
  transform: translateX(4px);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

@keyframes orbFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes orbFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -25px) scale(1.12); }
}

@keyframes orbFloatC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 208, 255, 0.28); }
  50% { box-shadow: 0 0 0 12px rgba(63, 208, 255, 0); }
}

@keyframes shineSweep {
  to { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .animate-marquee,
  .ambient-orb,
  .hero-grid,
  .btn-glow,
  .hero-stage > * {
    animation: none !important;
  }

  .reveal,
  .reveal-left,
  .hero-stage > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .surface:hover {
    transform: none;
  }
}

.payu-cf7 .wpcf7 {
  margin: 0;
}

.payu-cf7 .wpcf7-form > p,
.payu-cf7 .wpcf7-form label {
  display: block;
  margin-bottom: 1rem;
  color: #A1A1AA;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.payu-cf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.4rem;
}

.payu-cf7 input[type="text"],
.payu-cf7 input[type="email"],
.payu-cf7 input[type="tel"],
.payu-cf7 input[type="url"],
.payu-cf7 input[type="number"],
.payu-cf7 input[type="date"],
.payu-cf7 select,
.payu-cf7 textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.65);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #F4F4F5;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.payu-cf7 input::placeholder,
.payu-cf7 textarea::placeholder {
  color: #71717A;
}

.payu-cf7 input:focus,
.payu-cf7 select:focus,
.payu-cf7 textarea:focus {
  border-color: rgba(63, 208, 255, 0.5);
  outline: none;
}

.payu-cf7 textarea {
  min-height: 140px;
}

.payu-cf7 .wpcf7-submit,
.payu-cf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: #3FD0FF;
  color: #050505;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.payu-cf7 .wpcf7-submit:hover,
.payu-cf7 input[type="submit"]:hover {
  background: #1FB8ED;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(63, 208, 255, 0.25);
}

.payu-cf7 .wpcf7-not-valid-tip {
  color: #f87171;
  font-size: 0.75rem;
  margin-top: 0.35rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.payu-cf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.payu-cf7 .wpcf7 form-sent .wpcf7-response-output {
  border-color: rgba(63, 208, 255, 0.35);
  color: #3FD0FF;
  background: rgba(63, 208, 255, 0.08);
}

.payu-cf7 .wpcf7-spinner {
  margin-left: 0.75rem;
}
