/* ==========================================================================
   3D FILM STUDIO - CINEMA-GRADE SAAS DESIGN SYSTEM & SALES FUNNEL STYLES
   ========================================================================== */

:root {
  --bg-obsidian: #05060b;
  --bg-studio: #0b0d17;
  --bg-card: rgba(16, 19, 34, 0.78);
  --bg-card-hover: rgba(24, 29, 50, 0.92);
  --bg-glass: rgba(12, 15, 28, 0.82);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --gold-primary: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.35);

  --cyan-veo: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.28);

  --magenta-neon: #ff2e93;
  --purple-studio: #8b5cf6;

  --mp-blue: #009ee3;
  --mp-blue-dark: #007eb5;
  --pix-green: #00d4aa;
  --success-green: #10b981;
  --danger-red: #ef4444;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.45);
  --border-cyan: rgba(0, 240, 255, 0.4);

  --font-display: 'Syne', 'Space Grotesk', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Canvas 3D de Partículas Volumétricas no Fundo */
#studio-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* Luzes Volumétricas Ambientais */
.ambient-spotlight {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

.spotlight-gold {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
  top: -180px;
  left: -120px;
}

.spotlight-cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  top: 20%;
  right: -200px;
}

.spotlight-magenta {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.1) 0%, transparent 70%);
  bottom: 10%;
  left: 20%;
}

/* ==========================================================================
   BARRA DE URGÊNCIA E OFERTA DE TOPO (GATILHO DE CONVERSÃO)
   ========================================================================== */
.top-offer-bar {
  position: relative;
  z-index: 50;
  background: linear-gradient(90deg, #0b1120 0%, #1e1b4b 35%, #3b1d06 70%, #0b1120 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  padding: 9px 16px;
  text-align: center;
  font-size: 0.85rem;
}

.top-offer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.offer-pill {
  background: linear-gradient(135deg, var(--gold-primary), #ea580c);
  color: #05060b;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-timer {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold-bright);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.offer-cta-link {
  color: var(--cyan-veo);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

.offer-cta-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO PRINCIPAL
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 6, 11, 0.84);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo-icon-3d {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
  position: relative;
  overflow: hidden;
}

.logo-icon-3d::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 10px;
  background: #090b14;
  z-index: 1;
}

.logo-icon-3d svg {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #fbbf24 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan-veo);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Badge de Créditos do Usuário Logado */
.credits-wallet-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-bright);
  cursor: pointer;
  transition: all 0.25s ease;
}

.credits-wallet-pill:hover {
  background: rgba(245, 158, 11, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.credits-count {
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Botões Globais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  color: #05060b;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.55);
}

.btn-mp {
  background: linear-gradient(135deg, #009ee3 0%, #007eb5 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 158, 227, 0.35);
}

.btn-mp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 158, 227, 0.55);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan-veo);
  color: #ffffff;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.02rem;
  border-radius: 14px;
}

/* ==========================================================================
   HERO SECTION - AIDA & BRANDING DE CINEMA
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 64px 24px 80px;
  max-width: 1340px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.veo-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-veo);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pix-green);
  box-shadow: 0 0 12px var(--pix-green);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.55; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.gradient-gold-cyan {
  background: linear-gradient(95deg, #fbbf24 0%, #ff2e93 48%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-lead strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-value-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.value-pill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
}

.value-pill-card .vp-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold-bright);
  display: block;
}

.value-pill-card .vp-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Stage 3D Interativo no Hero */
.hero-stage-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(245, 158, 11, 0.14);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

.stage-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 4px 8px;
}

.stage-dots {
  display: flex;
  gap: 6px;
}

.stage-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.stage-dots span:nth-child(1) { background: #ef4444; }
.stage-dots span:nth-child(2) { background: #f59e0b; }
.stage-dots span:nth-child(3) { background: #10b981; }

.stage-engine-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-veo);
  background: rgba(0, 240, 255, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.stage-viewport {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #05060b;
}

.stage-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  animation: subtleCinemaKenBurns 14s ease-in-out infinite alternate;
}

@keyframes subtleCinemaKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

.stage-hud-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,11,0.1) 0%, rgba(5,6,11,0.15) 55%, rgba(5,6,11,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.hud-badges-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-live-pill {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-prompt-box {
  background: rgba(10, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
}

.hud-prompt-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.hud-prompt-text {
  font-size: 0.84rem;
  color: #f1f5f9;
}

.stage-mode-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.stage-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stage-tab-btn.active,
.stage-tab-btn:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: var(--gold-primary);
  color: #ffffff;
}

/* ==========================================================================
   FAIXA DE AUTORIDADE E TECNOLOGIAS
   ========================================================================== */
.trust-strip {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 12, 22, 0.7);
  padding: 22px 24px;
}

.trust-strip-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trust-item strong {
  color: var(--text-primary);
}

/* ==========================================================================
   SEÇÕES GERAIS E TÍTULOS
   ========================================================================== */
.section-block {
  position: relative;
  z-index: 10;
  max-width: 1340px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   SEÇÃO DE TRANSFORMAÇÃO: FOTO REAL ➔ CARICATURA 2D ➔ PIXAR 3D ➔ VÍDEO VEO 3.1
   ========================================================================== */
.transformation-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.triptych-visual-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.triptych-visual-wrap img {
  width: 100%;
  display: block;
}

.triptych-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(5, 6, 11, 0.9);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  padding: 10px 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.triptych-labels span:nth-child(1) { color: #94a3b8; }
.triptych-labels span:nth-child(2) { color: var(--magenta-neon); font-weight: 700; }
.triptych-labels span:nth-child(3) { color: var(--cyan-veo); font-weight: 700; }

.transformation-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-feature-item {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 16px;
  border-radius: 16px;
  transition: border-color 0.25s ease;
}

.step-feature-item:hover {
  border-color: var(--gold-primary);
}

.step-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-primary), #ea580c);
  color: #05060b;
  font-family: var(--font-mono);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   ESTÚDIO INTERATIVO SAAS (GOOGLE AI STUDIO • VEO 3.1 WORKSPACE)
   ========================================================================== */
.studio-workspace-shell {
  background: linear-gradient(180deg, rgba(16, 20, 38, 0.92) 0%, rgba(8, 10, 20, 0.96) 100%);
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 50px rgba(0, 240, 255, 0.08);
}

.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.studio-status-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.engine-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 999px;
}

.studio-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
}

.studio-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.control-label span.cost-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-bright);
}

/* Seletor de Modo de Geração (2D, 3D, Caricaturas, Veo 3.1) */
.mode-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mode-select-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mode-select-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mode-select-card.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.mode-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.86rem;
}

.mode-credit-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.14);
  color: var(--cyan-veo);
}

.mode-card-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.studio-textarea {
  width: 100%;
  min-height: 104px;
  background: rgba(5, 6, 11, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  resize: vertical;
}

.studio-textarea:focus,
.studio-input:focus,
.studio-select:focus {
  outline: none;
  border-color: var(--cyan-veo);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

.studio-input,
.studio-select {
  width: 100%;
  background: rgba(5, 6, 11, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 11px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.studio-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Upload de Foto para Caricatura 2D/3D ou Imagem para Vídeo Veo 3.1 */
.reference-upload-zone {
  border: 1px dashed rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reference-upload-zone:hover {
  background: rgba(0, 240, 255, 0.09);
  border-color: var(--cyan-veo);
}

/* Painel Direito do Estúdio: Preview Renderizador Veo 3.1 */
.studio-output-panel {
  background: #05060b;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 490px;
}

.output-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at center, #13182e 0%, #05060b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

#studio-render-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.render-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 11, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  z-index: 5;
}

.render-loading-overlay.active {
  display: flex;
}

.spinner-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(0, 240, 255, 0.2);
  border-top-color: var(--cyan-veo);
  border-right-color: var(--gold-primary);
  animation: spinRing 0.9s linear infinite;
}

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

/* ==========================================================================
   GALERIA / VITRINE DE ESTILOS (2D, 3D, CARICATURAS)
   ========================================================================== */
.filter-tabs-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: linear-gradient(135deg, var(--gold-primary), #ea580c);
  color: #05060b;
  border-color: transparent;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.showcase-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-thumb img {
  transform: scale(1.07);
}

.showcase-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.tag-engine {
  background: rgba(5, 6, 11, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-veo);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.tag-cost {
  background: rgba(245, 158, 11, 0.92);
  color: #05060b;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.showcase-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.showcase-prompt {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SEÇÃO DE PREÇOS & PACOTE DE 50 CRÉDITOS POR R$ 50,00 (MERCADO PAGO)
   ========================================================================== */
.pricing-comparison-banner {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.12) 0%, rgba(16, 185, 129, 0.14) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.featured-pack-50 {
  background: linear-gradient(180deg, rgba(30, 27, 58, 0.95) 0%, rgba(12, 15, 30, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 25px 70px rgba(245, 158, 11, 0.22);
  transform: scale(1.03);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #fbbf24, #ea580c);
  color: #05060b;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.74rem;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.price-amount-wrap {
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-bright);
  vertical-align: top;
}

.price-number {
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.price-credits-pill {
  display: inline-block;
  margin-top: 8px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--cyan-veo);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li span.check {
  color: var(--pix-green);
  font-weight: 800;
}

.mp-security-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   DEPOIMENTOS / PROVA SOCIAL & FAQ
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.stars-row {
  color: var(--gold-bright);
  font-size: 1rem;
  margin-bottom: 12px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   MODAIS: CADASTRO (NOME, EMAIL, TELEFONE) + CHECKOUT MERCADO PAGO + ADMIN API
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 4, 8, 0.85);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #0d1021;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  animation: modalPop 0.25s ease-out;
}

.modal-card.modal-lg {
  max-width: 720px;
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.pix-qr-box {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  width: 210px;
  height: 210px;
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.mp-tab-btn {
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
}

.mp-tab-btn.active {
  background: rgba(0, 158, 227, 0.18);
  border-color: var(--mp-blue);
  color: #ffffff;
}

/* Notificação Toast de Prova Social e Feedback */
.social-proof-toast {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 80;
  background: rgba(11, 14, 26, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 350px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  transition: all 0.4s ease;
}

.toast-notification {
  position: fixed;
  top: 84px;
  right: 24px;
  z-index: 120;
  background: #111827;
  border-left: 4px solid var(--pix-green);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  max-width: 400px;
  display: none;
}

.toast-notification.show {
  display: block;
}

/* Responsividade */
@media (max-width: 1024px) {
  .hero-grid,
  .transformation-showcase-grid,
  .studio-main-grid,
  .pricing-grid,
  .showcase-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured-pack-50 {
    transform: none;
  }
  .pricing-comparison-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-links {
    display: none;
  }
}
