
/* BASE E VARIÁVEIS CSS */
:root {
  --pandora-primary: #8a2be2;
  --pandora-bg-dark: #0f0f13;
  --pandora-glass-bg: rgba(255, 255, 255, 0.05);
  --pandora-glass-border: rgba(255, 255, 255, 0.1);
  --pandora-text: #ffffff;
}

.pandora-module {
  box-sizing: border-box;
  font-family: inherit;
  margin-bottom: 24px;
}
.pandora-module * { box-sizing: border-box; }

/* 1. Smart Container (Glassmorphism) */
.pandora-smart-container {
  border-radius: 24px;
  padding: 40px;
  background: var(--pandora-glass-bg);
  border: 1px solid var(--pandora-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pandora-smart-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

/* 2. Bento Grid */
.pandora-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: 100%;
}

/* 3. Sticky Box */
.pandora-sticky-box {
  position: -webkit-sticky;
  position: sticky;
  z-index: 99;
  transition: all 0.3s ease;
}

/* 4. Floating Shapes */
.pandora-floating-shapes {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  animation: floatShape ease-in-out infinite alternate;
}
@keyframes floatShape {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.1); }
}

/* 7. Formula Calculator */
.pandora-formula-calculator {
  background: var(--pandora-bg-dark);
  padding: 30px;
  border-radius: 20px;
  color: var(--pandora-text);
  border: 1px solid var(--pandora-glass-border);
}
.pandora-formula-calculator .calc-row { margin-bottom: 20px; }
.pandora-formula-calculator input[type=range] { width: 100%; accent-color: var(--pandora-primary); cursor: pointer; }
.pandora-formula-calculator .calc-result-box {
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid var(--pandora-primary);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pandora-primary);
}

/* 11. Magic Counter */
.pandora-magic-counter { text-align: center; }
.pandora-magic-counter .counter-wrap {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pandora-primary), #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.1;
}

/* 13. Pricing Table */
.pandora-pricing-table {
  background: var(--pandora-bg-dark);
  border: 1px solid var(--pandora-glass-border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s;
}
.pandora-pricing-table:hover { transform: scale(1.02); border-color: var(--pandora-primary); }
.pandora-pricing-table .plan-name { font-size: 1.2rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; color: #aaa; }
.pandora-pricing-table .plan-price { font-size: 3.5rem; font-weight: 900; margin: 20px 0; color: #fff; }
.pandora-pricing-table .plan-price span { font-size: 1.5rem; vertical-align: top; }

/* 15. Progress Tracker */
.pandora-progress-tracker { width: 100%; }
.pandora-progress-tracker .progress-label { display: flex; justify-content: space-between; color: #fff; font-weight: bold; margin-bottom: 10px; }
.pandora-progress-tracker .progress-bar-bg { background: rgba(255,255,255,0.1); border-radius: 20px; height: 12px; overflow: hidden; }
.pandora-progress-tracker .progress-bar-fill { height: 100%; width: 0%; border-radius: 20px; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); }

/* 16. FOMO Pop */
.pandora-fomo-pop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #fff;
  color: #000;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-weight: 600;
  z-index: 9999;
  transform: translateY(150px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pandora-fomo-pop.show { transform: translateY(0); opacity: 1; }
.pandora-fomo-pop::before { content: '🔔'; font-size: 1.2rem; }

/* 18. Scratch Reveal */
.pandora-scratch-reveal {
  position: relative;
  display: inline-block;
  background: var(--pandora-primary);
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}
.pandora-scratch-reveal .scratch-cover {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  transition: opacity 0.5s ease;
}
.pandora-scratch-reveal:hover .scratch-cover { opacity: 0; }

/* 20. Infinite Marquee */
.pandora-infinite-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: var(--pandora-bg-dark);
  padding: 20px 0;
  border-top: 1px solid var(--pandora-glass-border);
  border-bottom: 1px solid var(--pandora-glass-border);
  display: flex;
}
.pandora-marquee-inner {
  display: flex;
  gap: 50px;
  animation: pandoraMarquee linear infinite;
  padding-left: 50px;
}
.pandora-marquee-inner span {
  font-size: 1.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* Lottie Animator & Outros */
.pandora-lottie-animator { width: 100%; max-width: 500px; margin: 0 auto; }
