/* =========================================================
   RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;

  min-height: 100vh;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(124, 58, 237, 0.2),
      transparent 35%
    ),
    radial-gradient(circle at 0% 50%, rgba(37, 99, 235, 0.08), transparent 30%),
    radial-gradient(
      circle at 100% 40%,
      rgba(236, 72, 153, 0.06),
      transparent 30%
    ),
    #07070c;

  overflow-x: hidden;
}

/* =========================================================
   SELEÇÃO
   ========================================================= */

::selection {
  background: rgba(124, 58, 237, 0.55);
  color: #ffffff;
}

/* =========================================================
   BACKGROUND
   ========================================================= */

.background-effects {
  position: fixed;

  inset: 0;

  pointer-events: none;

  overflow: hidden;

  z-index: -1;
}

.background-orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(100px);

  opacity: 0.12;

  animation: floatingOrb 10s ease-in-out infinite alternate;
}

.orb-1 {
  width: 420px;
  height: 420px;

  top: -200px;
  left: 20%;

  background: #7c3aed;
}

.orb-2 {
  width: 350px;
  height: 350px;

  right: -150px;
  top: 35%;

  background: #2563eb;

  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;

  left: -150px;
  bottom: 10%;

  background: #ec4899;

  animation-delay: -6s;
}

@keyframes floatingOrb {
  from {
    transform: scale(0.9) translate(0, 0);
  }

  to {
    transform: scale(1.15) translate(30px, -20px);
  }
}

/* =========================================================
   PARTÍCULAS
   ========================================================= */

.particles span {
  position: absolute;

  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.35);

  animation: particleFloat 8s linear infinite;
}

.particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.particles span:nth-child(2) {
  left: 25%;
  top: 70%;
  animation-delay: 2s;
}

.particles span:nth-child(3) {
  left: 45%;
  top: 30%;
  animation-delay: 4s;
}

.particles span:nth-child(4) {
  left: 60%;
  top: 75%;
  animation-delay: 1s;
}

.particles span:nth-child(5) {
  left: 75%;
  top: 18%;
  animation-delay: 3s;
}

.particles span:nth-child(6) {
  left: 85%;
  top: 60%;
  animation-delay: 5s;
}

.particles span:nth-child(7) {
  left: 35%;
  top: 45%;
  animation-delay: 6s;
}

.particles span:nth-child(8) {
  left: 90%;
  top: 30%;
  animation-delay: 7s;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateY(-80px);
  }
}

/* =========================================================
   CONTAINER
   ========================================================= */

.container {
  width: min(1120px, calc(100% - 40px));

  margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  text-align: center;

  padding-top: 70px;
  padding-bottom: 35px;
}

/* =========================================================
   HERO BADGE
   ========================================================= */

.hero-badge {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.04);

  color: #aaa;

  font-size: 12px;
  font-weight: 600;

  backdrop-filter: blur(10px);

  animation: fadeUp 0.7s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #22c55e;

  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);

  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* =========================================================
   HERO TITLE
   ========================================================= */

.hero h1 {
  position: relative;

  max-width: 850px;

  margin: 25px auto 0;

  font-size: clamp(44px, 7vw, 78px);

  line-height: 1.03;

  letter-spacing: -3.5px;

  font-weight: 850;

  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 span {
  background: linear-gradient(
    90deg,
    #a855f7,
    #7c3aed,
    #3b82f6,
    #ec4899,
    #a855f7
  );

  background-size: 300% 100%;

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

  animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero-description {
  max-width: 680px;

  margin: 22px auto 0;

  color: #999;

  font-size: 17px;

  line-height: 1.7;

  animation: fadeUp 0.8s ease 0.2s both;
}

/* =========================================================
   PLATFORM SHOWCASE
   ========================================================= */

.platform-showcase {
  display: flex;

  justify-content: center;

  gap: 18px;

  margin-top: 38px;

  animation: fadeUp 0.9s ease 0.3s both;
}

.platform-card {
  position: relative;

  display: flex;

  align-items: center;

  gap: 15px;

  width: 230px;

  padding: 14px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.065),
    rgba(255, 255, 255, 0.018)
  );

  backdrop-filter: blur(15px);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.platform-card:hover {
  transform: translateY(-7px) scale(1.02);

  border-color: rgba(255, 255, 255, 0.18);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   PLATFORM GLOW
   ========================================================= */

.platform-glow {
  position: absolute;

  width: 130px;
  height: 130px;

  top: -70px;
  left: -50px;

  border-radius: 50%;

  filter: blur(35px);

  opacity: 0.25;

  transition: opacity 0.3s ease;
}

.platform-card:hover .platform-glow {
  opacity: 0.5;
}

.youtube-platform .platform-glow {
  background: #ff0033;
}

.instagram-platform .platform-glow {
  background: #e1306c;
}

/* =========================================================
   PLATFORM VISUAL
   ========================================================= */

.platform-visual {
  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  width: 65px;
  height: 65px;

  flex-shrink: 0;
}

/* =========================================================
   YOUTUBE LOGO
   ========================================================= */

.youtube-logo {
  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  width: 56px;
  height: 40px;

  border-radius: 12px;

  background: linear-gradient(145deg, #ff1744, #cc0029);

  box-shadow: 0 10px 25px rgba(255, 0, 50, 0.3);

  animation: youtubeFloat 3s ease-in-out infinite;
}

.youtube-play {
  color: white;

  font-size: 17px;

  transform: translateX(1px);
}

@keyframes youtubeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

/* =========================================================
   INSTAGRAM LOGO
   ========================================================= */

.instagram-logo {
  display: flex;

  justify-content: center;

  align-items: center;

  width: 55px;
  height: 55px;

  border-radius: 16px;

  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);

  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);

  animation: instagramFloat 3s ease-in-out infinite;
}

.instagram-camera {
  position: relative;

  width: 29px;
  height: 29px;

  border: 3px solid white;

  border-radius: 9px;
}

.camera-lens {
  position: absolute;

  width: 10px;
  height: 10px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border: 3px solid white;

  border-radius: 50%;
}

.camera-dot {
  position: absolute;

  width: 5px;
  height: 5px;

  top: 4px;
  right: 4px;

  background: white;

  border-radius: 50%;
}

@keyframes instagramFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

/* =========================================================
   ELEMENTOS FLUTUANTES
   ========================================================= */

.floating-element {
  position: absolute;

  display: flex;

  justify-content: center;

  align-items: center;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(5px);

  font-size: 9px;

  animation: floatingElement 3s ease-in-out infinite;
}

.element-youtube-1 {
  top: 1px;
  right: 0;

  color: #ff0033;
}

.element-youtube-2 {
  bottom: 1px;
  left: 0;

  color: #a855f7;

  animation-delay: -1.2s;
}

.element-instagram-1 {
  top: 0;
  right: 0;

  color: #ff6b9a;
}

.element-instagram-2 {
  bottom: 0;
  left: 0;

  color: #fbbf24;

  animation-delay: -1.5s;
}

@keyframes floatingElement {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* =========================================================
   PLATFORM INFO
   ========================================================= */

.platform-info {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 4px;
}

.platform-info strong {
  font-size: 15px;
}

.platform-info span {
  color: #777;

  font-size: 12px;
}

/* =========================================================
   DOWNLOAD CARD
   ========================================================= */

.download-card {
  position: relative;

  max-width: 900px;

  margin: 28px auto 0;

  padding: 28px;

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 24px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.065),
    rgba(255, 255, 255, 0.018)
  );

  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.42),
    0 0 80px rgba(124, 58, 237, 0.04);

  backdrop-filter: blur(20px);

  animation: fadeUp 0.9s ease 0.35s both;
}

/* =========================================================
   DOWNLOAD CARD HEADER
   ========================================================= */

.download-card-header {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 25px;
}

.section-kicker {
  display: block;

  margin-bottom: 7px;

  color: #8b5cf6;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 2px;
}

.download-card-header h2 {
  font-size: 22px;

  line-height: 1.3;
}

.status-indicator {
  display: flex;

  align-items: center;

  gap: 7px;

  padding: 7px 11px;

  border: 1px solid rgba(34, 197, 94, 0.15);

  border-radius: 999px;

  color: #888;

  background: rgba(34, 197, 94, 0.04);

  font-size: 11px;
}

.status-indicator span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #22c55e;

  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

/* =========================================================
   INPUT GROUP
   ========================================================= */

.input-group {
  width: 100%;
}

.input-group label {
  display: block;

  margin-bottom: 9px;

  color: #bbb;

  font-size: 12px;

  font-weight: 600;
}

/* =========================================================
   URL ROW
   ========================================================= */

.url-row {
  display: flex;

  gap: 10px;

  width: 100%;
}

.url-input-wrapper {
  position: relative;

  flex: 1;

  min-width: 0;
}

.url-input-wrapper input {
  width: 100%;

  padding: 17px 45px 17px 46px;

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 13px;

  outline: none;

  background: rgba(10, 10, 16, 0.85);

  color: white;

  font-size: 14px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.url-input-wrapper input::placeholder {
  color: #555;
}

.url-input-wrapper input:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.url-input-wrapper input:focus {
  border-color: #7c3aed;

  background: #0e0e15;

  box-shadow:
    0 0 0 3px rgba(124, 58, 237, 0.12),
    0 0 30px rgba(124, 58, 237, 0.08);
}

.url-icon {
  position: absolute;

  left: 16px;
  top: 50%;

  transform: translateY(-50%);

  opacity: 0.65;

  font-size: 15px;

  pointer-events: none;
}

.input-status-icon {
  position: absolute;

  right: 15px;
  top: 50%;

  transform: translateY(-50%) scale(0.8);

  color: #22c55e;

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.url-input-wrapper input:valid:not(:placeholder-shown) ~ .input-status-icon {
  opacity: 0.8;

  transform: translateY(-50%) scale(1);
}

/* =========================================================
   BOTÃO ANALISAR
   ========================================================= */

.url-row button {
  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 8px;

  min-width: 140px;

  padding: 0 22px;

  border: none;

  border-radius: 13px;

  background: linear-gradient(135deg, #7c3aed, #2563eb);

  color: white;

  font-size: 13px;

  font-weight: 800;

  cursor: pointer;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.url-row button::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );

  transform: skewX(-20deg);

  transition: left 0.6s ease;
}

.url-row button:hover::before {
  left: 140%;
}

.url-row button:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.35);
}

.url-row button:active {
  transform: translateY(0);
}

.url-row button:disabled {
  opacity: 0.45;

  cursor: not-allowed;

  transform: none;

  box-shadow: none;
}

/* =========================================================
   STATUS MESSAGE
   ========================================================= */

.status-message {
  min-height: 22px;

  margin-top: 13px;

  color: #888;

  font-size: 13px;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* =========================================================
   VIDEO RESULT
   ========================================================= */

.video-result {
  display: flex;

  gap: 20px;

  margin-top: 18px;

  padding: 15px;

  border: 1px solid rgba(255, 255, 255, 0.07);

  border-radius: 17px;

  background: rgba(255, 255, 255, 0.025);

  text-align: left;

  animation: resultAppear 0.5s ease both;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.video-result:hover {
  transform: translateY(-2px);

  border-color: rgba(124, 58, 237, 0.25);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

@keyframes resultAppear {
  from {
    opacity: 0;

    transform: translateY(15px) scale(0.98);
  }

  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   THUMBNAIL
   ========================================================= */

.thumbnail-container {
  position: relative;

  flex-shrink: 0;

  width: 220px;

  overflow: hidden;

  border-radius: 12px;

  background: #111;
}

.video-result img {
  display: block;

  width: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.video-result:hover img {
  transform: scale(1.04);

  filter: brightness(1.08);
}

.thumbnail-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  justify-content: center;

  align-items: center;

  background: rgba(0, 0, 0, 0.12);

  opacity: 0;

  transition: opacity 0.3s ease;
}

.video-result:hover .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-overlay span {
  display: flex;

  justify-content: center;

  align-items: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: rgba(124, 58, 237, 0.9);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   VIDEO INFO
   ========================================================= */

.video-info {
  min-width: 0;

  padding: 3px 0;
}

.result-label {
  display: block;

  margin-bottom: 8px;

  color: #8b5cf6;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1.5px;
}

.video-info h2 {
  font-size: 18px;

  line-height: 1.4;

  word-break: break-word;
}

.video-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 12px;
}

.video-info p {
  color: #888;

  font-size: 13px;
}

/* =========================================================
   DOWNLOAD OPTIONS
   ========================================================= */

.download-options {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 15px;

  margin-top: 20px;

  animation: optionsAppear 0.5s ease both;
}

@keyframes optionsAppear {
  from {
    opacity: 0;

    transform: translateY(10px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.option-group {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.option-group label {
  color: #999;

  font-size: 12px;

  font-weight: 600;
}

.select-wrapper {
  position: relative;
}

.option-group select {
  width: 100%;

  padding: 14px;

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 11px;

  outline: none;

  background: #101018;

  color: white;

  cursor: pointer;

  font-size: 13px;

  appearance: auto;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.option-group select:hover {
  border-color: rgba(255, 255, 255, 0.17);
}

.option-group select:focus {
  border-color: #7c3aed;

  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* =========================================================
   DOWNLOAD BUTTON
   ========================================================= */

.download-button {
  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  width: 100%;

  margin-top: 20px;

  padding: 16px;

  border: none;

  border-radius: 13px;

  background: linear-gradient(135deg, #7c3aed, #2563eb);

  color: white;

  font-size: 14px;

  font-weight: 800;

  cursor: pointer;

  overflow: hidden;

  box-shadow: 0 12px 35px rgba(79, 70, 229, 0.22);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.download-button::before {
  content: "";

  position: absolute;

  left: -120%;
  top: 0;

  width: 70%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );

  transform: skewX(-20deg);

  transition: left 0.7s ease;
}

.download-button:hover::before {
  left: 140%;
}

.download-button:hover {
  transform: translateY(-2px);

  box-shadow: 0 17px 40px rgba(79, 70, 229, 0.35);
}

.download-button:active {
  transform: translateY(0);
}

.download-button:disabled {
  opacity: 0.4;

  cursor: not-allowed;

  transform: none;

  box-shadow: none;
}

.download-button-icon {
  font-size: 18px;

  animation: downloadArrow 1.5s ease-in-out infinite;
}

@keyframes downloadArrow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(3px);
  }
}

.download-button-arrow {
  position: absolute;

  right: 20px;

  font-size: 18px;

  opacity: 0.7;
}

/* =========================================================
   PROGRESS CONTAINER
   ========================================================= */

.progress-container {
  margin-top: 22px;

  padding: 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 15px;

  background: rgba(255, 255, 255, 0.025);

  animation: progressAppear 0.45s ease both;
}

@keyframes progressAppear {
  from {
    opacity: 0;

    transform: translateY(10px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =========================================================
   PROGRESS HEADER
   ========================================================= */

.progress-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 15px;

  margin-bottom: 11px;
}

.progress-title {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #aaa;

  font-size: 12px;
}

.progress-spinner {
  width: 12px;
  height: 12px;

  border: 2px solid rgba(255, 255, 255, 0.1);

  border-top-color: #8b5cf6;

  border-radius: 50%;

  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

#progress-percent {
  color: #a78bfa;

  font-size: 13px;
}

/* =========================================================
   PROGRESS BAR
   ========================================================= */

.progress-bar {
  width: 100%;

  height: 9px;

  overflow: hidden;

  border-radius: 10px;

  background: #181821;

  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

.progress-fill {
  position: relative;

  width: 0%;

  height: 100%;

  border-radius: 10px;

  background: linear-gradient(90deg, #7c3aed, #6366f1, #2563eb);

  box-shadow: 0 0 18px rgba(99, 102, 241, 0.35);

  transition: width 0.25s ease;

  overflow: hidden;
}

.progress-fill-shine {
  position: absolute;

  top: 0;

  left: -80px;

  width: 70px;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );

  animation: progressShine 1.5s linear infinite;
}

@keyframes progressShine {
  from {
    left: -80px;
  }

  to {
    left: 110%;
  }
}

/* =========================================================
   PROGRESS DETAILS
   ========================================================= */

.progress-details {
  display: flex;

  justify-content: space-between;

  gap: 15px;

  margin-top: 11px;

  color: #666;

  font-size: 11px;
}

.progress-details strong {
  color: #999;

  font-weight: 600;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-it-works {
  padding: 90px 0 70px;
}

.section-heading {
  text-align: center;

  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 36px;

  letter-spacing: -1px;
}

.section-heading p {
  margin-top: 10px;

  color: #777;

  font-size: 14px;
}

/* =========================================================
   STEPS
   ========================================================= */

.steps {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.step {
  position: relative;

  padding: 27px;

  border: 1px solid rgba(255, 255, 255, 0.07);

  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.step:hover {
  transform: translateY(-7px);

  border-color: rgba(124, 58, 237, 0.3);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.step::after {
  content: "";

  position: absolute;

  width: 130px;
  height: 130px;

  top: -80px;
  right: -60px;

  border-radius: 50%;

  background: #7c3aed;

  filter: blur(65px);

  opacity: 0;

  transition: opacity 0.35s ease;
}

.step:hover::after {
  opacity: 0.16;
}

/* =========================================================
   STEP NUMBER
   ========================================================= */

.step-number {
  position: absolute;

  top: 20px;
  right: 20px;

  color: #333;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1px;
}

/* =========================================================
   STEP ICON
   ========================================================= */

.step-icon {
  display: flex;

  justify-content: center;

  align-items: center;

  width: 44px;
  height: 44px;

  margin-bottom: 20px;

  border-radius: 13px;

  background: linear-gradient(135deg, #7c3aed, #2563eb);

  font-size: 18px;

  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.22);

  transition: transform 0.35s ease;
}

.step:hover .step-icon {
  transform: scale(1.08) rotate(4deg);
}

/* =========================================================
   STEP TEXT
   ========================================================= */

.step h3 {
  position: relative;

  margin-bottom: 9px;

  font-size: 18px;
}

.step p {
  position: relative;

  color: #777;

  font-size: 13px;

  line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 6px;

  padding: 0 0 45px;

  text-align: center;
}

.footer-logo {
  display: flex;

  justify-content: center;

  align-items: center;

  width: 40px;
  height: 40px;

  margin-bottom: 5px;

  border-radius: 12px;

  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.footer p {
  font-size: 13px;

  font-weight: 700;
}

.footer span {
  color: #555;

  font-size: 11px;
}

/* =========================================================
   HIDDEN
   ========================================================= */

.hidden {
  display: none !important;
}

/* =========================================================
   ANIMAÇÃO GENÉRICA
   ========================================================= */

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(22px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #07070c;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#7c3aed, #2563eb);

  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8b5cf6;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 45px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 55px);

    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 14px;
  }

  .platform-showcase {
    gap: 10px;
  }

  .platform-card {
    width: 50%;

    padding: 11px;
  }

  .platform-info span {
    font-size: 10px;
  }

  .download-card {
    padding: 19px;

    border-radius: 19px;
  }

  .download-card-header {
    flex-direction: column;

    gap: 12px;
  }

  .url-row {
    flex-direction: column;
  }

  .url-row button {
    min-height: 50px;
  }

  .video-result {
    flex-direction: column;
  }

  .thumbnail-container {
    width: 100%;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .how-it-works {
    padding: 60px 0 50px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .progress-details {
    flex-direction: column;

    gap: 6px;
  }
}

/* ============================================================
   NAVBAR PRINCIPAL
   ============================================================ */

.site-navbar {
  position: relative;
  z-index: 1000;

  width: 100%;

  padding: 18px 24px;

  background: rgba(7, 6, 14, 0.72);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ============================================================
   CONTAINER DA NAVBAR
   ============================================================ */

.navbar-container {
  width: 100%;
  max-width: 1280px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

/* ============================================================
   LOGO
   ============================================================ */

.navbar-logo {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: #ffffff;

  text-decoration: none;

  flex-shrink: 0;
}

/* Ícone */

.navbar-logo-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: linear-gradient(135deg, #6d3df5, #3d6df2);

  box-shadow: 0 8px 25px rgba(91, 61, 245, 0.28);

  font-size: 18px;
}

/* Texto */

.navbar-logo-text {
  display: flex;
  align-items: baseline;

  gap: 5px;

  white-space: nowrap;
}

.navbar-logo-text strong {
  font-size: 15px;
  font-weight: 700;

  letter-spacing: -0.2px;
}

.navbar-logo-text small {
  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.2px;

  color: #8d6cff;
}

/* ============================================================
   MENU
   ============================================================ */

.navbar-menu {
  display: flex;
  align-items: center;

  gap: 4px;
}

/* ============================================================
   LINKS
   ============================================================ */

.navbar-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  min-height: 40px;

  padding: 0 12px;

  border-radius: 9px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 13px;
  font-weight: 500;

  text-decoration: none;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.navbar-link:hover {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.06);
}

/* Link ativo */

.navbar-link.active {
  color: #ffffff;

  background: rgba(112, 75, 255, 0.13);
}

.navbar-link.active::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 5px;

  width: 18px;
  height: 2px;

  transform: translateX(-50%);

  border-radius: 10px;

  background: linear-gradient(90deg, #6c4cff, #a75cff);
}

/* ============================================================
   MENU "MAIS"
   ============================================================ */

.navbar-more {
  position: relative;
}

.navbar-more summary {
  list-style: none;

  cursor: pointer;

  user-select: none;
}

.navbar-more summary::-webkit-details-marker {
  display: none;
}

.navbar-arrow {
  margin-left: 6px;

  font-size: 14px;

  transition: transform 0.2s ease;
}

.navbar-more[open] .navbar-arrow {
  transform: rotate(180deg);
}

/* ============================================================
   DROPDOWN
   ============================================================ */

.navbar-dropdown {
  position: absolute;

  top: calc(100% + 10px);
  right: 0;

  min-width: 190px;

  padding: 8px;

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 13px;

  background: rgba(15, 14, 25, 0.96);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Links do dropdown */

.navbar-dropdown a {
  display: block;

  padding: 10px 12px;

  border-radius: 8px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 13px;

  text-decoration: none;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.navbar-dropdown a:hover {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.07);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 1050px) {
  .navbar-container {
    gap: 15px;
  }

  .navbar-menu {
    gap: 1px;
  }

  .navbar-link {
    padding: 0 8px;

    font-size: 12px;
  }

  .navbar-logo-text strong {
    font-size: 14px;
  }
}

/* ============================================================
   TABLETS / CELULARES
   ============================================================ */

@media (max-width: 800px) {
  .site-navbar {
    padding: 14px 16px;
  }

  .navbar-container {
    flex-direction: column;

    align-items: stretch;

    gap: 12px;
  }

  .navbar-logo {
    justify-content: center;
  }

  .navbar-menu {
    justify-content: center;

    flex-wrap: wrap;

    row-gap: 3px;
  }

  .navbar-link {
    min-height: 36px;

    padding: 0 9px;

    font-size: 12px;
  }
}

/* ============================================================
   CELULARES PEQUENOS
   ============================================================ */

@media (max-width: 520px) {
  .navbar-logo-text strong {
    font-size: 13px;
  }

  .navbar-menu {
    justify-content: flex-start;

    overflow-x: auto;

    padding-bottom: 3px;

    scrollbar-width: none;
  }

  .navbar-menu::-webkit-scrollbar {
    display: none;
  }

  .navbar-link {
    white-space: nowrap;
  }
}

/* =========================================================
   TELAS MUITO PEQUENAS
   ========================================================= */

@media (max-width: 430px) {
  .platform-showcase {
    flex-direction: column;

    align-items: center;
  }

  .platform-card {
    width: 100%;

    max-width: 280px;
  }

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

  .download-card-header h2 {
    font-size: 19px;
  }
}

/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }
}
