/* ============================================================
   PURPLEIT — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500&family=Barlow+Condensed:wght@300;400;600;700&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:      #09090d;
  --bg-base:      #121218;
  --bg-surface:   #1b1029;
  --purple-core:  #7b2cff;
  --purple-mid:   #9333ea;
  --purple-light: #a855f7;
  --purple-pale:  #c084fc;
  --white:        #ffffff;
  --white-60:     rgba(255,255,255,0.6);
  --white-30:     rgba(255,255,255,0.3);
  --white-10:     rgba(255,255,255,0.07);
  --purple-glow:  rgba(123,44,255,0.35);
  --purple-fog:   rgba(123,44,255,0.12);

  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color: var(--white);
  overflow-x: hidden;
  color-scheme: only dark;
  forced-color-adjust: none;
}

html, body {
  filter: none !important;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg-deep);
  overflow-x: hidden;
  cursor: default;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--purple-core); border-radius: 2px; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(9,9,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123,44,255,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.logo-diamond {
  color: var(--purple-light);
  font-size: 1rem;
  filter: drop-shadow(0 0 6px var(--purple-core));
  animation: diamondPulse 3s ease-in-out infinite;
}

@keyframes diamondPulse {
  0%, 100% { filter: drop-shadow(0 0 6px var(--purple-core)); }
  50% { filter: drop-shadow(0 0 14px var(--purple-pale)); }
}

.logo-text {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-60);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--purple-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-actions {}

.btn-nav {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--purple-core);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.btn-nav:hover {
  background: var(--purple-core);
  box-shadow: 0 0 20px var(--purple-glow);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--bg-deep);
}

/* CANVAS */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* FOG LAYERS */
.fog-layer {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  filter: blur(80px);
}

.fog-1 {
  width: 60vw;
  height: 60vh;
  top: -10%;
  right: -5%;
  background: radial-gradient(ellipse, rgba(123,44,255,0.18) 0%, transparent 70%);
  animation: fogDrift1 12s ease-in-out infinite alternate;
}

.fog-2 {
  width: 40vw;
  height: 50vh;
  bottom: 0;
  left: 5%;
  background: radial-gradient(ellipse, rgba(27,16,41,0.9) 0%, transparent 70%);
  animation: fogDrift2 16s ease-in-out infinite alternate;
}

.fog-3 {
  width: 50vw;
  height: 40vh;
  bottom: -5%;
  right: 10%;
  background: radial-gradient(ellipse, rgba(147,51,234,0.1) 0%, transparent 70%);
  animation: fogDrift3 20s ease-in-out infinite alternate;
}

@keyframes fogDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-3%, 5%) scale(1.08); }
}
@keyframes fogDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4%, -4%) scale(1.05); }
}
@keyframes fogDrift3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-2%, 3%) scale(1.1); }
}

/* ARTWORK */
.hero-artwork {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: stretch;
}

.artwork-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.artwork-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Silhouette scene — placeholder visuals */
.silhouette-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.smoke-band {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.smoke-band-1 {
  height: 35vh;
  bottom: 15%;
  background: radial-gradient(ellipse at 50% 100%, rgba(27,16,41,0.95) 0%, transparent 70%);
  animation: smokeDrift 14s ease-in-out infinite alternate;
}

.smoke-band-2 {
  height: 25vh;
  bottom: 30%;
  background: radial-gradient(ellipse at 40% 100%, rgba(123,44,255,0.08) 0%, transparent 60%);
  animation: smokeDrift 18s ease-in-out infinite alternate-reverse;
}

.smoke-band-3 {
  height: 20vh;
  bottom: 45%;
  left: -10%;
  right: -10%;
  background: radial-gradient(ellipse at 50% 100%, rgba(123,44,255,0.05) 0%, transparent 60%);
  animation: smokeDrift 22s ease-in-out infinite alternate;
}

@keyframes smokeDrift {
  from { transform: translateX(-2%) scaleX(1); opacity: 0.8; }
  to   { transform: translateX(2%) scaleX(1.04); opacity: 1; }
}

/* Operator silhouettes — placeholder shapes */
.operator-silhouette {
  position: absolute;
  bottom: 0;
  width: 22vw;
  max-width: 340px;
  height: 85%;
  background: linear-gradient(180deg,
    rgba(123,44,255,0.03) 0%,
    rgba(27,16,41,0.8) 60%,
    rgba(9,9,13,1) 100%
  );
  filter: blur(1px);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.operator-left {
  left: 12%;
  clip-path: polygon(
    35% 0%, 60% 0%,
    62% 5%, 70% 8%, 72% 15%, 75% 20%, 78% 30%, 80% 45%, 82% 55%,
    100% 55%, 100% 100%, 0% 100%, 0% 55%, 18% 55%,
    20% 45%, 22% 30%, 25% 20%, 28% 15%, 30% 8%, 38% 5%
  );
  background: linear-gradient(180deg,
    rgba(147,51,234,0.06) 0%,
    rgba(9,9,13,0.7) 50%,
    rgba(9,9,13,1) 100%
  );
  filter: blur(2px) brightness(0.4);
}

.operator-right {
  right: 12%;
  clip-path: polygon(
    40% 0%, 65% 0%,
    62% 5%, 70% 8%, 72% 15%, 75% 20%, 78% 30%, 80% 45%, 82% 55%,
    100% 55%, 100% 100%, 0% 100%, 0% 55%, 18% 55%,
    20% 45%, 22% 30%, 25% 20%, 28% 15%, 30% 8%, 38% 5%
  );
  background: linear-gradient(180deg,
    rgba(123,44,255,0.04) 0%,
    rgba(9,9,13,0.6) 50%,
    rgba(9,9,13,1) 100%
  );
  filter: blur(2px) brightness(0.35);
  transform: scaleX(-1);
}

.ground-fog {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 30vh;
  background: linear-gradient(180deg, transparent 0%, rgba(9,9,13,0.98) 100%);
  filter: blur(8px);
}

.artwork-label {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.15);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

/* VIGNETTE — degradê cobre o topo da imagem hero */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(180deg,
      rgba(9,9,13,0.75) 0%,
      rgba(9,9,13,0.45) 15%,
      transparent 40%,
      transparent 60%,
      rgba(9,9,13,0.95) 100%
    ),
    radial-gradient(ellipse at 0% 50%, rgba(9,9,13,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(9,9,13,0.45) 0%, transparent 55%);
  pointer-events: none;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 6rem 8vh;
  max-width: 55%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--purple-light);
  opacity: 0.6;
}

.eyebrow-text {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple-pale);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(6rem, 11vw, 14rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.8rem;
}

.title-word { display: inline-block; }

.title-accent {
  color: var(--purple-light);
  position: relative;
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 1.8rem;
}

.tagline-item {
  font-family: var(--font-cond);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-60);
  line-height: 1.3;
}

.tagline-dot {
  color: var(--purple-light);
  font-weight: 600;
}

.hero-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--white-60);
  max-width: 380px;
  margin-bottom: 2.8rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  position: relative;
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 2.4rem;
  background: var(--purple-core);
  overflow: hidden;
  transition: transform 0.2s;
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-inner { position: relative; z-index: 2; }

.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-core));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover .btn-glow { opacity: 1; }

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--purple-pale);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.btn-primary:hover::after { opacity: 0.4; }

.btn-secondary {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-60);
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: color 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
  color: var(--white);
  border-color: var(--purple-light);
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--purple-light));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

.scroll-label {
  font-family: var(--font-cond);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-pale);
  writing-mode: vertical-rl;
}

/* ── SHOWCASE ─────────────────────────────────────────────── */
.showcase {
  position: relative;
  background: var(--bg-deep);
  padding: 12vh 6rem 14vh;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123,44,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(27,16,41,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-fog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  box-shadow: 0 0 80px 40px rgba(123,44,255,0.1);
  pointer-events: none;
}

.showcase-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple-pale);
  margin-bottom: 1.2rem;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '—';
  margin: 0 0.6rem;
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: normal;
  color: var(--purple-light);
}

.section-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--white-60);
  max-width: 480px;
  margin: 0 auto;
}

/* SHOWCASE FRAME */
.showcase-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  z-index: 2;
}

.frame-corners {
  position: absolute;
  inset: -16px;
  pointer-events: none;
  z-index: 3;
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--purple-core);
  border-style: solid;
}

.corner.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.corner.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.corner.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.corner.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.frame-inner {
  width: 100%;
  position: relative;
  background: rgba(27,16,41,0.4);
  border: 1px solid rgba(123,44,255,0.15);
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(123,44,255,0.08),
    0 40px 80px rgba(0,0,0,0.5);
  /* garante que a imagem preencha sem espaço vazio */
  display: flex;
  align-items: stretch;
}

.frame-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

/* Screenshot placeholder */
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 24px,
      rgba(123,44,255,0.025) 24px,
      rgba(123,44,255,0.025) 25px
    ),
    rgba(9,9,13,0.6);
  position: relative;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
}

.placeholder-icon {
  font-size: 2rem;
  color: var(--purple-core);
  opacity: 0.5;
  animation: diamondPulse 3s ease-in-out infinite;
}

.placeholder-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-30);
}

.placeholder-hint {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.15);
  max-width: 300px;
  text-align: center;
  line-height: 1.6;
}

.showcase-ambient {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(123,44,255,0.07) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(123,44,255,0.1);
  padding: 3rem 6rem 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-30);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--purple-pale); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy, .footer-tagline {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.15);
}

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hero-content { padding: 0 2rem 8vh; max-width: 90%; }
  .hero-title { font-size: clamp(4.5rem, 16vw, 8rem); }
  .showcase { padding: 10vh 2rem 12vh; }
  .footer { padding: 3rem 2rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .hero-content { padding: 0 1.5rem 8vh; max-width: 100%; }
  .hero-title { font-size: clamp(4rem, 20vw, 6rem); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: clamp(2.5rem, 10vw, 5rem); }
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
}
