body {
  background-color: #070b1b;
  color: #e2e8f0;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  z-index: 60;
  opacity: 0;
  background: transparent;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}

.scroll-progress--visible {
  opacity: 1;
}

.scroll-progress__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(62, 121, 235, 0.55), rgba(155, 213, 255, 0.85), rgba(255, 156, 104, 0.85));
  box-shadow: 0 0 24px rgba(155, 213, 255, 0.35), 0 0 18px rgba(255, 156, 104, 0.25);
}

.site-header {
  transition: background 0.6s ease, box-shadow 0.6s ease, backdrop-filter 0.6s ease;
}

.site-header.is-solid {
  background: rgba(7, 11, 27, 0.96);
  box-shadow: 0 18px 50px rgba(7, 11, 27, 0.45);
  backdrop-filter: blur(18px);
}

[data-tilt] {
  will-change: transform;
  transition: box-shadow 0.6s ease;
  transform-style: preserve-3d;
}

body.prefers-reduced-motion *,
body.prefers-reduced-motion *::before,
body.prefers-reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

a {
  color: inherit;
}

.nav-links {
  position: relative;
  align-items: center;
}

.nav-link {
  position: relative;
  color: rgba(226, 232, 240, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links .nav-link {
  position: relative;
  z-index: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.6), rgba(255, 123, 71, 0.8));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link[aria-current="page"],
.nav-link:hover {
  color: #f8fafc;
}

.nav-link[aria-current="page"]::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  color: rgba(226, 232, 240, 0.85);
  text-decoration: none;
  transition: border 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-link:hover {
  color: #ffffff;
  border-color: rgba(255, 123, 71, 0.65);
  box-shadow: 0 0 30px rgba(255, 123, 71, 0.2);
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2563eb, rgba(155, 213, 255, 0.4), #ff7b47);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(255, 123, 71, 0.35);
  transition: box-shadow 0.3s ease;
}

.mobile-cta:hover {
  box-shadow: 0 0 60px rgba(255, 123, 71, 0.35);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(circle at 20% -10%, rgba(155, 213, 255, 0.28), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 123, 71, 0.22), transparent 60%),
    linear-gradient(160deg, rgba(16, 37, 79, 0.96), rgba(7, 11, 27, 0.92));
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(155, 213, 255, 0.2), rgba(255, 123, 71, 0.18));
  mix-blend-mode: screen;
  opacity: 0.4;
}

.ambient-card {
  position: relative;
  overflow: hidden;
}

.ambient-card::before {
  content: "";
  position: absolute;
  inset: -40% -40% 30% -40%;
  background: radial-gradient(circle, rgba(255, 123, 71, 0.18) 0%, rgba(255, 123, 71, 0.05) 60%, transparent 80%);
  opacity: 0.85;
  filter: blur(60px);
  z-index: -1;
}

.ambient-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ambient-icon {
  position: relative;
  overflow: hidden;
}

.ambient-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 123, 71, 0.3), transparent 70%);
  opacity: 0.9;
  filter: blur(14px);
  z-index: -1;
}

.logo-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.85rem, 1vw + 0.45rem, 1.5rem);
  border-radius: 9999px;
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.22), rgba(9, 14, 32, 0.78), rgba(255, 156, 104, 0.18));
  border: 1px solid rgba(155, 213, 255, 0.28);
  box-shadow: 0 0 95px rgba(155, 213, 255, 0.32), 0 0 60px rgba(255, 156, 104, 0.28);
  overflow: visible;
  isolation: isolate;
  transition: box-shadow 0.6s ease, transform 0.6s ease;
}

.logo-neon__image {
  display: block;
  width: clamp(180px, 36vw, 280px);
  height: auto;
  filter: brightness(1.08) saturate(1.12) drop-shadow(0 0 28px rgba(155, 213, 255, 0.35));
}

.logo-neon__beam,
.logo-neon__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

.logo-neon__beam {
  inset: -45%;
  background: radial-gradient(circle, rgba(155, 213, 255, 0.8) 0%, rgba(93, 133, 235, 0.52) 32%, rgba(255, 156, 104, 0.42) 58%, rgba(255, 156, 104, 0) 75%);
  filter: blur(40px);
  opacity: 0.8;
  mix-blend-mode: screen;
}

.logo-neon__beam--alt {
  inset: -65%;
  background: radial-gradient(circle, rgba(255, 186, 135, 0.58) 0%, rgba(155, 213, 255, 0.45) 35%, rgba(255, 156, 104, 0.32) 60%, rgba(255, 156, 104, 0) 80%);
  filter: blur(64px);
  opacity: 0.6;
}

.logo-neon__ripple {
  position: absolute;
  inset: -25%;
  border-radius: inherit;
  border: 2px solid rgba(255, 123, 71, 0.28);
  box-shadow: 0 0 45px rgba(255, 123, 71, 0.35);
  opacity: 0.55;
  filter: blur(2px);
  mix-blend-mode: screen;
  z-index: -2;
  pointer-events: none;
}

.logo-neon__sheen {
  position: absolute;
  inset: -30% -60%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(203, 219, 255, 0.85) 50%, rgba(255, 255, 255, 0) 70%);
  filter: blur(18px);
  opacity: 0.5;
  mix-blend-mode: screen;
  transform: rotate(-8deg);
  pointer-events: none;
}

.logo-neon__orbit {
  position: absolute;
  inset: -55%;
  border-radius: 9999px;
  border: 1px dashed rgba(155, 213, 255, 0.28);
  opacity: 0.5;
  mix-blend-mode: screen;
  transform-origin: 50% 50%;
  pointer-events: none;
}

.logo-neon__orbit--alt {
  inset: -70%;
  opacity: 0.4;
  border-style: solid;
  border-color: rgba(255, 156, 104, 0.28);
}

.logo-neon__orbit-dot {
  position: absolute;
  top: 50%;
  left: -4%;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: radial-gradient(circle, #fff 0%, rgba(203, 219, 255, 0.85) 40%, rgba(255, 186, 135, 0.6) 70%, transparent 100%);
  box-shadow: 0 0 24px rgba(155, 213, 255, 0.45);
  transform: translate(-50%, -50%);
}

.logo-neon__spark {
  position: absolute;
  top: 12%;
  right: 18%;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(203, 219, 255, 0.7) 38%, rgba(255, 186, 135, 0) 72%);
  box-shadow: 0 0 28px rgba(155, 213, 255, 0.55);
  mix-blend-mode: screen;
  pointer-events: none;
}

.logo-neon__spark--alt {
  top: auto;
  bottom: 20%;
  right: auto;
  left: 14%;
  width: 12px;
  height: 12px;
  opacity: 0.9;
}

.logo-neon__spark--tiny {
  top: 50%;
  left: 60%;
  width: 8px;
  height: 8px;
  opacity: 0.75;
}

.logo-neon__ring {
  inset: -14%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 36px rgba(255, 123, 71, 0.5);
  opacity: 0.85;
}

@media (min-width: 1024px) {
  .logo-neon {
    padding-block: clamp(1rem, 1vw, 1.35rem);
    padding-inline: clamp(1.25rem, 1.5vw, 1.85rem);
  }
}

.ambient-chip {
  position: relative;
}

.ambient-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 123, 71, 0.22), transparent 70%);
  opacity: 0.85;
  filter: blur(30px);
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.orb--blue {
  inset: 15% auto auto -12%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.6), transparent 60%);
}

.orb--orange {
  inset: auto -12% -10% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 123, 71, 0.75), transparent 70%);
}

.ambient-accordion {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.15);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.ambient-accordion[open] {
  border-color: rgba(255, 123, 71, 0.45);
  box-shadow: 0 0 40px rgba(255, 123, 71, 0.15);
}

.accordion-trigger {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.accordion-trigger::-webkit-details-marker {
  display: none;
}

.accordion-content {
  margin-top: 0.75rem;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-link {
  color: rgba(203, 213, 225, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.8);
}

.form-input {
  width: 100%;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.35);
  padding: 0.85rem 1.25rem;
  color: #f8fafc;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 123, 71, 0.55);
  box-shadow: 0 0 45px rgba(255, 123, 71, 0.25);
}

.copy-link {
  position: relative;
}

.copy-link::after {
  content: "Copiado";
  position: absolute;
  inset-inline-end: -90px;
  inset-block-start: 50%;
  transform: translateY(-50%) scale(0.8);
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.7rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.copy-link.is-copied::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 1024px) {
  .orb {
    opacity: 0.45;
  }
}

@media (max-width: 768px) {
  .ambient-card::before {
    inset: -60% -40% 20% -40%;
  }

  .copy-link::after {
    inset-inline-end: 50%;
    transform: translate(50%, -50%) scale(0.8);
  }

  .copy-link.is-copied::after {
    transform: translate(50%, -50%) scale(1);
  }
}
