@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --black: #090000;
  --black-soft: #170202;
  --red: #ff153c;
  --red-deep: #a90018;
  --cream: #fff6ef;
  --muted: rgba(255, 246, 239, .68);
  --whatsapp: #25d366;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--cream);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
}

button,
a {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 60% 35%, rgba(174, 0, 19, .18), transparent 36%),
    linear-gradient(110deg, #070000 0%, #160101 48%, #070000 100%);
}

.hero-visual {
  position: absolute;
  z-index: -5;
  inset: 0 0 0 auto;
  width: min(68vw, 920px);
  background-image: url("assets/youtube-channel-hero.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  animation: imageReveal 1.1s cubic-bezier(.2,.8,.2,1) both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 190px;
  background: linear-gradient(90deg, var(--black) 0%, rgba(9, 0, 0, .78) 40%, transparent 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
}

.hero-veil {
  position: absolute;
  z-index: -4;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 0, 0, .99) 0%, rgba(7, 0, 0, .91) 28%, rgba(7, 0, 0, .5) 49%, rgba(7, 0, 0, .08) 72%),
    linear-gradient(180deg, rgba(7, 0, 0, .15) 0%, transparent 48%, rgba(7, 0, 0, .72) 100%);
}

.red-glow {
  position: absolute;
  z-index: -3;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
}

.red-glow-one {
  width: 350px;
  height: 350px;
  left: -210px;
  top: 14%;
  background: rgba(255, 0, 38, .22);
}

.red-glow-two {
  width: 400px;
  height: 170px;
  left: 24%;
  bottom: -120px;
  background: rgba(255, 21, 60, .18);
}

.language-switcher {
  position: absolute;
  z-index: 10;
  top: 24px;
  right: clamp(24px, 4vw, 64px);
  display: flex;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(8, 0, 0, .62);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .26);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.language-switcher button {
  min-width: 42px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .52);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.language-switcher button:hover {
  color: #fff;
}

.language-switcher button.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 21, 60, .32);
}

.language-switcher button:focus-visible,
.whatsapp-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.floating-youtube {
  position: absolute;
  z-index: 4;
  top: 13%;
  left: 54%;
  width: 78px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: rgba(18, 0, 0, .48);
  box-shadow: 0 16px 44px rgba(255, 0, 35, .3), inset 0 1px 0 rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  animation: youtubeFloat 4.6s ease-in-out infinite;
}

.floating-youtube svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

.youtube-halo {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: rgba(255, 0, 51, .65);
  filter: blur(18px);
  animation: haloPulse 2.5s ease-in-out infinite;
}

.hero-shell {
  width: min(100% - 48px, 1200px);
  min-height: 90svh;
  margin: 0 auto;
  padding: 78px 0 54px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(615px, 51vw);
  animation: copyReveal .8s .12s cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: rgba(255, 246, 239, .68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow-play {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 21, 60, .45);
  border-radius: 9px;
  background: rgba(255, 21, 60, .12);
  color: var(--red);
  font-size: 10px;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 720;
  line-height: .91;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 8px 38px rgba(0, 0, 0, .4);
}

h1 #title-accent {
  color: var(--red);
  background: linear-gradient(105deg, #ff8b9d 0%, #ff2347 42%, #d90025 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  max-width: 555px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.description strong {
  color: #fff;
  font-weight: 800;
}

.advantages {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
}

.advantages li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 246, 239, .78);
  font-size: 11px;
  font-weight: 650;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.advantages li span {
  color: var(--red);
  font-weight: 900;
}

.proposal {
  margin: 26px 0 17px;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
}

.whatsapp-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 515px);
  min-height: 78px;
  overflow: hidden;
  padding: 12px 18px 12px 13px;
  border: 1px solid rgba(198, 255, 216, .76);
  border-radius: 20px;
  background: linear-gradient(110deg, #38e878 0%, var(--whatsapp) 48%, #12ae4b 100%);
  box-shadow: 0 20px 58px rgba(37, 211, 102, .25), inset 0 1px 0 rgba(255, 255, 255, .48);
  color: #061d0e;
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease;
}

.whatsapp-cta::after {
  content: "";
  position: absolute;
  top: -75%;
  left: -25%;
  width: 22%;
  height: 250%;
  background: rgba(255, 255, 255, .46);
  transform: rotate(21deg);
  animation: buttonShine 4.2s 1s ease-in-out infinite;
}

.whatsapp-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 72px rgba(37, 211, 102, .38), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 15px;
  background: #fff;
  color: #16b653;
  box-shadow: 0 8px 18px rgba(4, 87, 35, .18);
}

.whatsapp-icon svg {
  width: 28px;
  height: 28px;
}

.cta-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cta-copy small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
}

.cta-copy strong {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 850;
  letter-spacing: -.025em;
}

.cta-arrow {
  font-size: 25px;
  transition: transform .24s ease;
}

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

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0 0 9px;
  color: rgba(255, 246, 239, .42);
  font-size: 10px;
}

.trust-line span {
  color: var(--whatsapp);
  font-size: 8px;
  text-shadow: 0 0 12px rgba(37, 211, 102, .65);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: #070000;
}

.footer-inner {
  width: min(100% - 48px, 1200px);
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.1fr;
  align-items: center;
  gap: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid rgba(255, 21, 60, .27);
  border-radius: 12px;
  background: rgba(255, 21, 60, .08);
}

.brand-icon svg {
  width: 100%;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand strong {
  font-size: 12px;
}

.footer-brand small,
.footer-inner > p {
  color: rgba(255, 246, 239, .4);
  font-size: 9px;
  line-height: 1.5;
}

.footer-inner > p {
  margin: 0;
}

.privacy {
  display: flex;
  align-items: center;
  gap: 9px;
}

.privacy span {
  color: var(--red);
  font-size: 18px;
}

@keyframes imageReveal {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes copyReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes haloPulse {
  0%, 100% { opacity: .42; transform: scale(.88); }
  50% { opacity: .8; transform: scale(1.22); }
}

@keyframes buttonShine {
  0%, 57% { left: -25%; }
  76%, 100% { left: 120%; }
}

@media (max-width: 900px) {
  .hero-copy {
    width: min(580px, 61vw);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 25px 0;
  }

  .privacy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    padding-top: 91vw;
  }

  .hero-visual {
    inset: 0 0 auto 0;
    width: 100%;
    height: 100vw;
    background-size: 100% auto;
    background-position: center top;
  }

  .hero-visual::before {
    inset: auto 0 -34px;
    width: 100%;
    height: 118px;
    background: linear-gradient(180deg, transparent 0%, rgba(9,0,0,.18) 35%, rgba(9,0,0,.82) 78%, var(--black) 100%);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 100%);
  }

  .hero-veil {
    background:
      linear-gradient(180deg, transparent 0%, transparent 70%, rgba(9,0,0,.54) 88%, var(--black) 100%),
      linear-gradient(90deg, rgba(9,0,0,.08), transparent 25%, transparent 78%, rgba(9,0,0,.12));
  }

  .language-switcher {
    top: 14px;
    right: 14px;
  }

  .floating-youtube {
    top: 65px;
    left: 18px;
    width: 64px;
    padding: 11px;
    border-radius: 17px;
  }

  .hero-shell {
    width: min(100% - 32px, 560px);
    min-height: auto;
    padding: 0 0 46px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .description {
    margin-top: 21px;
    font-size: 15px;
    line-height: 1.62;
  }

  .advantages {
    gap: 7px;
    margin-top: 20px;
  }

  .advantages li {
    padding: 7px 9px;
    font-size: 10px;
  }

  .proposal {
    margin: 23px 0 15px;
    font-size: 14px;
  }

  .whatsapp-cta {
    min-height: 72px;
    border-radius: 18px;
  }

  .whatsapp-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .cta-arrow {
    display: none;
  }

  .trust-line {
    margin-left: 2px;
    line-height: 1.45;
  }

  .footer-inner {
    width: min(100% - 32px, 560px);
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 28px 0 32px;
  }

  .privacy {
    grid-column: auto;
  }
}

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