:root {
  --bg: #080a0e;
  --bg-deep: #050608;
  --surface: rgba(10, 12, 16, 0.8);
  --text: #f0f2f7;
  --text-soft: #cfd5e0;
  --text-dim: #8f98ab;
  --orange: #ff7a00;
  --yellow: #ffcb28;
  --magenta: #d83bff;
  --violet: #7158ff;
  --cyan: #00c8ff;
  --green: #22e06f;
  --lime: #8ae900;
  --purple: #9b38ff;
  --spectrum: linear-gradient(90deg,
    var(--orange) 0%,
    var(--yellow) 14%,
    var(--green) 32%,
    var(--cyan) 53%,
    var(--violet) 74%,
    var(--magenta) 90%,
    #ff3797 100%);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --mx: 72%;
  --my: 43%;
  --headline-font: "Archivo Expanded", "Oxanium", "Arial Black", sans-serif;
  --ui-font: "DM Sans", Arial, sans-serif;
  --mono-font: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--ui-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection {
  background: rgba(216, 59, 255, .35);
  color: #fff;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
}

.background,
.pointer-light,
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.background {
  z-index: -5;
  background:
    linear-gradient(90deg, rgba(4, 5, 7, .32) 0%, rgba(4, 5, 7, .14) 50%, rgba(4, 5, 7, .08) 100%),
    url("assets/fotons-bg.webp") 78% center / cover no-repeat,
    var(--bg-deep);
  transform: scale(1.01);
}

.pointer-light {
  z-index: -4;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(91, 67, 255, .10), transparent 55%),
    radial-gradient(340px circle at calc(var(--mx) + 8%) calc(var(--my) + 10%), rgba(0, 200, 255, .07), transparent 62%);
  transition: opacity .35s ease;
}

.vignette {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 5, 7, .40) 0%, rgba(4, 5, 7, .14) 56%, rgba(4, 5, 7, .06) 100%),
    radial-gradient(ellipse at center, transparent 34%, rgba(0, 0, 0, .30) 100%);
}

.top-spectrum {
  position: absolute;
  z-index: 20;
  top: 18px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--spectrum);
  box-shadow: 0 0 14px rgba(0, 200, 255, .16), 0 0 18px rgba(216, 59, 255, .12);
  transform-origin: left center;
  animation: spectrumIn 900ms var(--ease-out) both;
}

.container {
  width: min(100%, 1360px);
  margin-inline: auto;
  padding-inline: clamp(24px, 4.8vw, 76px);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: clamp(36px, 5.6vh, 60px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.brand-strong {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(17px, 1.28vw, 22px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-light {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 400;
  color: rgba(240, 242, 247, .78);
  letter-spacing: -.02em;
}

.header-signature {
  margin: 0;
  color: rgba(224, 228, 238, .62);
  font-family: var(--mono-font);
  font-size: clamp(7.5px, .58vw, 10px);
  font-weight: 400;
  letter-spacing: .24em;
  line-height: 1.55;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-signature span {
  margin-inline: .65em;
  color: rgba(240, 242, 247, .85);
}

.hero {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 152px);
  padding-top: clamp(30px, 4vh, 48px);
  padding-bottom: clamp(18px, 2.5vh, 26px);
}

.hero-copy {
  width: min(760px, 57vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 2vh, 24px);
  color: rgba(235, 238, 245, .72);
  font-family: var(--mono-font);
  font-size: clamp(9px, .72vw, 11px);
  line-height: 1.4;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.eyebrow-dot,
.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.eyebrow-dot {
  background: linear-gradient(135deg, #f1e500 0%, #8ee000 52%, #14e57f 100%);
  box-shadow: 0 0 18px rgba(126, 234, 0, .70);
}

.headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--headline-font);
  font-size: clamp(44px, 4.65vw, 72px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: #f6f7f9;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .15);
}

.headline-line {
  display: block;
}

.desktop-line {
  white-space: nowrap;
}

.mobile-line {
  display: none;
}

.headline-accent {
  width: clamp(210px, 18vw, 310px);
  height: 4px;
  margin-top: 12px;
  margin-bottom: 22px;
  background: var(--spectrum);
  border-radius: 999px;
  box-shadow: 0 0 17px rgba(216, 59, 255, .14);
}

.intro {
  max-width: 580px;
}

.subheadline {
  margin: 0 0 12px;
  color: #eef1f5;
  font-size: clamp(18px, 1.28vw, 22px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.supporting-copy {
  margin: 0;
  max-width: 560px;
  color: rgba(215, 220, 230, .74);
  font-size: clamp(14px, .95vw, 16px);
  font-weight: 400;
  line-height: 1.52;
}

.social-grid {
  width: min(640px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.social-card {
  --card-border: var(--spectrum);
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 15px 16px;
  overflow: hidden;
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .04), transparent 30%),
    linear-gradient(135deg, rgba(17, 19, 24, .92), rgba(7, 9, 12, .80));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 14px 34px rgba(0,0,0,.20);
  transform: translateZ(0);
  transition:
    transform .42s var(--ease-out),
    box-shadow .42s var(--ease-out),
    background .42s ease;
}

.social-card::before,
.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.social-card::before {
  padding: 1.3px;
  background: var(--card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .95;
}

.social-card::after {
  z-index: -1;
  inset: -4px;
  background: var(--card-border);
  filter: blur(18px);
  opacity: .10;
  transition: opacity .42s ease, filter .42s ease;
}

.social-card.instagram {
  --card-border: linear-gradient(115deg, #ff7a00 0%, #ff3b59 34%, #d83bff 68%, #7158ff 100%);
}

.social-card.youtube {
  --card-border: linear-gradient(115deg, #2b71ff 0%, #00c8ff 36%, #22e06f 72%, #d83bff 100%);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.card-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.instagram-icon svg {
  width: 38px;
  height: 38px;
}

.youtube-icon svg {
  width: 40px;
  height: auto;
  filter: drop-shadow(0 5px 12px rgba(255, 37, 37, .16));
}

.whatsapp-icon svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 12px rgba(37, 211, 102, .16));
}

.card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-copy strong {
  color: #f5f6f9;
  font-size: clamp(15px, .95vw, 17px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.card-copy > span {
  color: rgba(238, 241, 247, .82);
  font-size: clamp(12px, .78vw, 13px);
  line-height: 1.22;
}

.card-copy small {
  margin-top: 6px;
  color: rgba(155, 163, 184, .62);
  font-size: clamp(8.5px, .52vw, 10px);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-arrow {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(246, 248, 252, .92);
  line-height: 1;
  transition: transform .38s var(--ease-out), color .38s ease, opacity .38s ease;
}

.card-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.card-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 20px 48px rgba(0,0,0,.28);
}

.social-card:hover::after,
.social-card:focus-visible::after {
  opacity: .22;
  filter: blur(20px);
}

.social-card:hover .card-arrow,
.social-card:focus-visible .card-arrow {
  transform: translate(4px, -4px);
  opacity: 1;
}

.social-card:focus-visible,
.brand:focus-visible {
  outline: 2px solid rgba(0, 200, 255, .95);
  outline-offset: 5px;
}

.right-note {
  position: absolute;
  right: clamp(76px, 9vw, 140px);
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(219, 224, 235, .46);
  font-family: var(--mono-font);
  font-size: clamp(9px, .68vw, 11px);
  font-weight: 400;
  letter-spacing: .30em;
  line-height: 1.38;
  text-transform: uppercase;
}

.right-note i {
  display: block;
  width: 22px;
  height: 1px;
  margin-top: 12px;
  background: rgba(235, 238, 245, .44);
}

.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: clamp(20px, 3vh, 32px);
  color: rgba(220, 224, 234, .60);
  font-family: var(--mono-font);
  font-size: clamp(8px, .54vw, 10px);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.production-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--purple);
  box-shadow: 0 0 17px rgba(155, 56, 255, .62);
  animation: statusPulse 2.5s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: revealIn 900ms var(--ease-out) forwards;
}

.reveal-1 { animation-delay: 180ms; }
.reveal-2 { animation-delay: 270ms; transform: translateY(24px); }
.reveal-3 { animation-delay: 410ms; }
.reveal-4 { animation-delay: 500ms; }
.reveal-5 { animation-delay: 620ms; }
.reveal-6 { animation-delay: 730ms; transform: none; }

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

@keyframes spectrumIn {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(.92); box-shadow: 0 0 10px rgba(155, 56, 255, .40); }
  50% { transform: scale(1.06); box-shadow: 0 0 22px rgba(155, 56, 255, .72); }
}

@media (max-width: 1180px) {
  .hero-copy {
    width: min(700px, 62vw);
  }

  .headline {
    font-size: clamp(41px, 4.4vw, 64px);
  }

  .social-grid {
    width: min(640px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-card.whatsapp {
    grid-column: 1 / -1;
  }

  .right-note {
    right: 48px;
  }
}

@media (max-width: 980px) {
  .page-shell {
    min-height: 100svh;
    overflow-y: auto;
  }

  .background {
    background:
      linear-gradient(90deg, rgba(4, 5, 7, .36) 0%, rgba(4, 5, 7, .22) 56%, rgba(4, 5, 7, .12) 100%),
      url("assets/fotons-bg.webp") 77% center / cover no-repeat,
      var(--bg-deep);
  }

  .header-signature,
  .right-note {
    display: none;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: 46px;
  }

  .hero-copy {
    width: min(100%, 680px);
  }

  .headline {
    font-size: clamp(40px, 6.6vw, 58px);
  }

  .social-grid {
    width: min(640px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-card.whatsapp {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page-shell {
    min-height: 100svh;
    grid-template-rows: auto 1fr auto;
  }

  .container {
    padding-inline: 18px;
  }

  .top-spectrum {
    top: 10px;
    height: 1.5px;
  }

  .site-header {
    padding-top: 28px;
  }

  .brand-strong {
    font-size: 16px;
  }

  .brand-light {
    font-size: 14px;
  }

  .background {
    background:
      linear-gradient(180deg, rgba(4, 5, 7, .22) 0%, rgba(4, 5, 7, .46) 48%, rgba(4, 5, 7, .76) 100%),
      linear-gradient(90deg, rgba(4, 5, 7, .20) 0%, rgba(4, 5, 7, .38) 36%, rgba(4, 5, 7, .10) 100%),
      url("assets/fotons-bg.webp") 98% 28px / auto 54svh no-repeat,
      var(--bg-deep);
  }

  .pointer-light {
    opacity: .65;
  }

  .vignette {
    background:
      linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.38) 58%, rgba(0,0,0,.62) 100%),
      radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,.22) 100%);
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 30px;
  }

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

  .eyebrow {
    gap: 9px;
    margin-bottom: 18px;
    font-size: 8px;
    letter-spacing: .19em;
  }

  .eyebrow-dot {
    width: 8px;
    height: 8px;
  }

  .headline {
    max-width: 90%;
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: .89;
    letter-spacing: -.04em;
  }

  .desktop-line {
    display: none;
  }

  .mobile-line {
    display: block;
    white-space: nowrap;
  }

  .headline-accent {
    width: min(58vw, 208px);
    height: 3px;
    margin-top: 14px;
    margin-bottom: 20px;
  }

  .intro {
    max-width: 100%;
  }

  .subheadline {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .supporting-copy {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
  }

  .social-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .social-card {
    min-height: 84px;
    border-radius: 16px;
    grid-template-columns: 38px 1fr 20px;
    gap: 12px;
    padding: 14px;
  }

  .card-icon {
    width: 38px;
    height: 38px;
  }

  .instagram-icon svg,
  .youtube-icon svg,
  .whatsapp-icon svg {
    width: 36px;
    height: 36px;
  }

  .card-copy strong {
    font-size: 15px;
  }

  .card-copy > span {
    font-size: 12px;
  }

  .card-copy small {
    margin-top: 5px;
    font-size: 9px;
  }

  .card-arrow {
    width: 20px;
    height: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding-top: 2px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  .background {
    background:
      linear-gradient(180deg, rgba(4, 5, 7, .20) 0%, rgba(4, 5, 7, .48) 46%, rgba(4, 5, 7, .78) 100%),
      linear-gradient(90deg, rgba(4, 5, 7, .18) 0%, rgba(4, 5, 7, .42) 36%, rgba(4, 5, 7, .08) 100%),
      url("assets/fotons-bg.webp") 100% 34px / auto 52svh no-repeat,
      var(--bg-deep);
  }

  .headline {
    max-width: 96%;
    font-size: clamp(31px, 9.4vw, 38px);
  }

  .headline-accent {
    width: min(60vw, 196px);
  }

  .supporting-copy {
    max-width: 96%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .top-spectrum {
    transform: none;
    opacity: 1;
  }
}
