/* =========================================================
   ALPHA FLOW — Em Construção (Paleta Laranja & Preto)
   ========================================================= */

:root {
  /* Cores principais */
  --bg-base: #08080a;
  --bg-surface: #111115;
  --bg-surface-elevated: rgba(20, 20, 25, 0.78);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-orange: rgba(255, 106, 0, 0.35);

  /* Paleta Laranja */
  --orange-500: #ff5e00;
  --orange-400: #ff7a18;
  --orange-300: #ffa447;
  --orange-glow: rgba(255, 94, 0, 0.28);

  /* Texto */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #6e6e78;

  /* Tipografia */
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Espaçamento & Raios */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Camadas de Fundo
   ========================================================= */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 42%, black 25%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, black 25%, transparent 82%);
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.42;
}

.bg-glow--top {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, var(--orange-500) 0%, transparent 70%);
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.bg-glow--bottom {
  width: 480px;
  height: 480px;
  bottom: -220px;
  left: -140px;
  background: radial-gradient(circle, #cc3d00 0%, transparent 72%);
  animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

.cursor-spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 40%),
    rgba(255, 94, 0, 0.09),
    transparent 60%
  );
  transition: opacity 0.3s ease;
}

/* =========================================================
   Estrutura Principal
   ========================================================= */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

/* =========================================================
   Cabeçalho
   ========================================================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand__mark {
  display: grid;
  place-items: center;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 94, 0, 0.35);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand__name span {
  color: var(--orange-400);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 94, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: var(--orange-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7);
  animation: pulseDot 1.9s infinite;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.65s ease both;
}

.hero__badge svg {
  color: var(--orange-400);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.35rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeUp 0.65s 0.08s ease both;
}

.text-gradient {
  display: inline-block;
  background: linear-gradient(110deg, #ff5e00 0%, #ff9a3c 55%, #ff5e00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineText 5s linear infinite;
}

.hero__subtitle {
  max-width: 580px;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
  animation: fadeUp 0.65s 0.16s ease both;
}

/* =========================================================
   Card de Progresso
   ========================================================= */
.progress-card {
  width: 100%;
  padding: 26px 28px;
  margin-bottom: 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  text-align: left;
  animation: fadeUp 0.65s 0.24s ease both;
}

.progress-card__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.progress-card__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange-400);
}

.progress-card__label strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.progress-card__percent {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange-400);
  line-height: 1;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 22px;
}

.progress-bar__fill {
  position: relative;
  width: 0%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--orange-300) 100%);
  box-shadow: 0 0 22px rgba(255, 94, 0, 0.65);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.progress-bar__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shimmer 2.4s infinite;
}

.milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.milestone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.milestone__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.milestone--done {
  color: var(--text-secondary);
}

.milestone--done .milestone__icon {
  background: rgba(255, 94, 0, 0.18);
  border-color: var(--orange-500);
  color: var(--orange-300);
}

.milestone--active {
  color: var(--text-primary);
  font-weight: 500;
}

.milestone--active .milestone__icon {
  border-color: var(--orange-400);
  background: var(--orange-500);
  box-shadow: 0 0 12px rgba(255, 94, 0, 0.75);
}

/* =========================================================
   Formulário de Aviso
   ========================================================= */
.notify {
  width: 100%;
  max-width: 520px;
  animation: fadeUp 0.65s 0.32s ease both;
}

.notify__title {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.notify__form {
  display: flex;
  gap: 10px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.notify__form:focus-within {
  border-color: var(--border-orange);
  box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.12);
}

.notify__input-wrap {
  flex: 1;
}

.notify__form input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.notify__form input::placeholder {
  color: var(--text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 100%);
  color: #08080a;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(255, 94, 0, 0.4);
  filter: brightness(1.06);
}

.btn-primary:active {
  transform: translateY(0);
}

.notify__feedback {
  min-height: 22px;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 500;
}

.notify__feedback--success {
  color: var(--orange-300);
}

.notify__feedback--error {
  color: #ff6b6b;
}

/* =========================================================
   Rodapé
   ========================================================= */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--orange-400);
}

.footer__divider {
  opacity: 0.4;
}

/* =========================================================
   Animações
   ========================================================= */
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 94, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0);
  }
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 28px, 0) scale(1.08);
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes shineText {
  to {
    background-position: 200% center;
  }
}

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

/* =========================================================
   Responsividade
   ========================================================= */
@media (max-width: 680px) {
  .page-wrapper {
    padding: 22px 18px 26px;
    gap: 36px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .progress-card {
    padding: 20px;
  }

  .milestones {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .notify__form {
    flex-direction: column;
    padding: 8px;
  }

  .btn-primary {
    width: 100%;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }
}

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