:root {
  --bg: #0b0b0b;
  --white: #ffffff;
  --pink: #ff4b83;
  --pink-soft: #d85682;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --icon-bg: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.is-ready .reveal {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

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

img,
svg {
  display: block;
}

.link-page {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0b0b0b;
  isolation: isolate;
}

.link-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 50% 164%, rgba(255, 75, 131, 0.34), transparent 40%),
    radial-gradient(circle at 50% 116%, rgba(255, 75, 131, 0.22), transparent 27%),
    linear-gradient(180deg, #0b0b0b 0%, #0a0708 64%, #19030c 100%);
}

.brand-bg {
  position: absolute;
  z-index: -3;
  width: 4300px;
  max-width: none;
  aspect-ratio: 1;
  background: url("./assets/img/connecta-bg-symbol.png") center / contain no-repeat;
  filter: blur(8.5px);
  opacity: 0.9;
  pointer-events: none;
}

.brand-bg-top {
  top: -1690px;
  left: -1370px;
  transform: rotate(2.81deg);
}

.brand-bg-left {
  display: none;
  left: -318px;
  bottom: -390px;
  transform: rotate(2.81deg);
}

.brand-bg-bottom {
  display: none;
}

.glow-orbit {
  position: absolute;
  left: 50%;
  bottom: -640px;
  z-index: -2;
  width: 146vw;
  max-width: 2114px;
  height: 1294px;
  transform: translateX(-50%);
  background: url("./assets/img/pink-glow.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.connecta-texture {
  position: absolute;
  left: 50%;
  bottom: -50px;
  z-index: -1;
  transform: translateX(-50%);
  width: min(1380px, 96vw);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

.shell {
  position: relative;
  width: min(970px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 117px;
  transform: scale(var(--fit-scale, 1));
  transform-origin: top center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(8px);
  transition:
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    filter 780ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-hero {
  transform: translate3d(0, 14px, 0);
}

.reveal-card {
  transform: translate3d(-18px, 24px, 0);
}

.reveal-panel {
  transform: translate3d(18px, 24px, 0) scale(0.98);
}

.logo {
  width: 229px;
  height: auto;
  object-fit: contain;
}

.hero-copy {
  width: min(557px, 100%);
  margin-top: 58px;
}

.hero h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.hero h1 strong {
  color: var(--pink);
  font-weight: 700;
}

.hero p {
  width: min(514px, 100%);
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.content-grid {
  display: grid;
  grid-template-columns: 520px 310px;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin-top: 35px;
}

.links-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  order: 1;
}

.link-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 116px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255, 75, 131, 0.2), transparent 56%);
  transition: opacity 220ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.075);
}

.link-card:hover::before,
.link-card:focus-visible::before {
  opacity: 1;
}

.link-card:focus-visible,
.whatsapp-card:focus-visible {
  outline: 2px solid rgba(255, 75, 131, 0.9);
  outline-offset: 4px;
}

.icon-box {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 14px;
  background: var(--icon-bg);
}

.icon-box svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  color: var(--pink-soft);
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  overflow: visible;
  stroke-miterlimit: 10;
}

.link-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0 14px;
  padding-top: 5px;
}

.link-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: capitalize;
  white-space: nowrap;
}

.link-desc {
  max-width: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.arrow {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
}

.arrow svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  overflow: visible;
}

.whatsapp-card {
  position: relative;
  order: 2;
  display: block;
  width: 310px;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 24px;
  background: transparent;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.whatsapp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.whatsapp-card img {
  position: absolute;
  top: -7%;
  left: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: 49% 42%;
}

.photo-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(64deg, rgba(51, 59, 69, 0) 55%, rgba(51, 59, 69, 0.9) 88%),
    linear-gradient(180deg, rgba(51, 59, 69, 0) 37%, rgba(51, 59, 69, 0.95) 71%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.02));
}

.status {
  position: absolute;
  top: 31px;
  left: 31px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #63ffc2;
}

.whatsapp-icon {
  position: absolute;
  left: 28px;
  bottom: 158px;
  top: auto;
  width: 48px;
  height: 48px;
  color: #ffffff;
}

.whatsapp-icon svg {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  overflow: visible;
}

.whatsapp-copy {
  position: absolute;
  top: auto;
  bottom: 31px;
  left: 31px;
  display: flex;
  width: 216px;
  flex-direction: column;
  gap: 8px;
  color: #ffffff;
}

.whatsapp-copy strong {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.whatsapp-copy span {
  width: 181px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .reveal-card,
  .reveal-panel {
    transform: translate3d(0, 18px, 0);
  }

  .link-page {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .link-page::before {
    background:
      radial-gradient(circle at 50% 125%, rgba(255, 75, 131, 0.34), transparent 36%),
      linear-gradient(180deg, #0b0b0b 0%, #0a0708 67%, #19030c 100%);
  }

  .brand-bg {
    width: 6600px;
    max-width: none;
  }

  .brand-bg-top {
    top: -2980px;
    left: -2895px;
  }

  .brand-bg-left {
    display: none;
  }

  .brand-bg-bottom {
    display: block;
    width: 670px;
    left: 50%;
    bottom: -292px;
    transform: translateX(-50%) rotate(2.81deg);
    opacity: 0.58;
  }

  .glow-orbit {
    bottom: -919px;
    width: 1055px;
    height: 1046px;
  }

  .connecta-texture {
    display: none;
  }

  .shell {
    width: calc(100% - 40px);
    max-width: 362px;
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .logo {
    width: 155px;
  }

  .hero-copy {
    width: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin-top: 24px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.06;
    letter-spacing: -0.7px;
    width: 100%;
  }

  .hero p {
    margin-top: 16px;
    font-size: 16px;
    width: 100%;
  }

  .content-grid {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
  }

  .whatsapp-card {
    order: 1;
    width: 100%;
    height: 500px;
  }

  .links-stack {
    order: 2;
    width: 100%;
    gap: 16px;
  }

  .link-card {
    min-height: 108px;
    padding: 16px;
  }

  .icon-box {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .icon-box svg {
    width: 20px;
    height: 20px;
  }

  .link-text {
    margin-right: 0;
    padding-top: 0;
  }

  .link-title {
    font-size: 14px;
    white-space: normal;
  }

  .link-desc {
    max-width: none;
    font-size: 16px;
  }

  .arrow {
    display: none;
  }

  .whatsapp-card img {
    top: -6%;
    left: -11%;
    width: 122%;
    height: 122%;
    object-position: 50% 40%;
  }

  .status {
    top: 31px;
    left: 31px;
  }

  .whatsapp-icon {
    top: auto;
    left: 28px;
    bottom: 158px;
  }

  .whatsapp-copy {
    top: auto;
    left: 31px;
    bottom: 31px;
  }
}

@media (max-width: 374px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 25px;
  }

  .link-card {
    border-radius: 20px;
  }

  .link-text {
    margin-left: 12px;
  }
}
