/* ==========================================================================
   GoBoost Official Website - Modern Design System 2026
   Glassmorphism, Ambient Glows, Micro-interactions & Mobile App Mockups
   ========================================================================== */

:root {
  --gb-brand: #8A4FFF;
  --gb-brand-hover: #783be3;
  --gb-brand-light: #c4a6ff;
  --gb-cyan: #0084FF;
  --gb-cyan-glow: rgba(0, 132, 255, 0.35);
  --gb-gold: #FFB800;
  --gb-gold-glow: rgba(255, 184, 0, 0.3);
  --gb-silver: #C0C0C0;
  --gb-bronze: #CD7F32;
  --gb-bg-dark: #07060B;
  --gb-bg-surface: #0E0C15;
  --gb-card-bg: rgba(18, 16, 28, 0.65);
  --gb-card-border: rgba(255, 255, 255, 0.08);
  --gb-card-border-hover: rgba(138, 79, 255, 0.35);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07060B;
}
::-webkit-scrollbar-thumb {
  background: #252033;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8A4FFF;
}

/* Ambient Background Mesh & Lighting */
.gb-mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.gb-orb-1 {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 550px;
  background: radial-gradient(circle, rgba(138, 79, 255, 0.22) 0%, rgba(0, 132, 255, 0.12) 45%, rgba(7, 6, 11, 0) 75%);
  filter: blur(80px);
  pointer-events: none;
}

.gb-orb-2 {
  position: absolute;
  top: 35%;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138, 79, 255, 0.15) 0%, rgba(7, 6, 11, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
}

.gb-orb-3 {
  position: absolute;
  bottom: 10%;
  right: -120px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 132, 255, 0.16) 0%, rgba(7, 6, 11, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
}

/* High-Tech Grid Pattern */
.gb-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

/* Glassmorphism Card Utilities */
.gb-glass-card {
  background: var(--gb-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gb-card-border);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gb-glass-card:hover {
  border-color: var(--gb-card-border-hover);
  box-shadow: 0 16px 40px -12px rgba(138, 79, 255, 0.2);
  transform: translateY(-3px);
}

/* Glow Badges & Gradients */
.gb-glow-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2D9F3 50%, #A672FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gb-gradient-brand {
  background: linear-gradient(135deg, #8A4FFF 0%, #652BC0 100%);
}

.gb-gradient-cyan {
  background: linear-gradient(135deg, #0084FF 0%, #0051B3 100%);
}

/* Floating Animations */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-0.5deg);
  }
}

.animate-float {
  animation: floatGentle 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatReverse 6s ease-in-out infinite;
}

/* Smartphone Mockup 3D Style */
.gb-phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  background: #09080e;
  border-radius: 46px;
  box-shadow: 
    0 0 0 10px #1a1727,
    0 0 0 12px #2f2a44,
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 50px 0 rgba(138, 79, 255, 0.3);
  overflow: hidden;
  border: 3px solid #000;
  margin: 0 auto;
}

.gb-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.gb-phone-camera {
  width: 8px;
  height: 8px;
  background: #111424;
  border-radius: 50%;
  border: 1px solid #1e2438;
}

/* Reactions Bar Pop Effect */
.reaction-pill {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reaction-pill:hover {
  transform: scale(1.25) translateY(-4px);
}

/* Like Heart Blast Animation */
@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.like-active {
  color: #ff3366 !important;
  animation: heartPulse 0.4s ease-out;
}

/* Marquee Infinite Loop */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: inline-flex;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

/* Plan Card Highlights */
.plan-gold-border {
  border: 1px solid rgba(255, 184, 0, 0.35);
  box-shadow: 0 0 35px -5px rgba(255, 184, 0, 0.15);
}

.plan-diamond-border {
  border: 1px solid rgba(0, 132, 255, 0.35);
  box-shadow: 0 0 35px -5px rgba(0, 132, 255, 0.15);
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .gb-phone-mockup {
    width: 285px;
    height: 570px;
    border-radius: 38px;
  }
}

/* Legal Pages Typography & Styling */
.gb-legal-content h1, 
.gb-legal-content h2, 
.gb-legal-content h3 {
  color: #FFFFFF;
  font-family: 'Urbanist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.gb-legal-content h2 {
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-legal-content h3 {
  font-size: 1.25rem;
  color: #E2D9F3;
}

.gb-legal-content p {
  color: #CBD5E1;
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.gb-legal-content strong, 
.gb-legal-content b {
  color: #FFFFFF;
  font-weight: 700;
}

.gb-legal-content a {
  color: #A672FF;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.gb-legal-content a:hover {
  color: #FFFFFF;
}

.gb-legal-content ul, 
.gb-legal-content ol {
  color: #CBD5E1;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.gb-legal-content li {
  margin-bottom: 0.5rem;
}

.gb-legal-content hr {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 2.5rem 0;
}

/* Official Hero Smartphone & Floating Shapes 2026 */
.gb-hero-showcase {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-hero-phone-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 42px;
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.8),
    0 0 60px 0 rgba(138, 79, 255, 0.35);
  transition: transform 0.4s ease;
  z-index: 10;
}

.gb-hero-phone-img:hover {
  transform: translateY(-6px) scale(1.02);
}

.gb-hero-shape {
  position: absolute;
  pointer-events: none;
  z-index: 15;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

.gb-shape-1 {
  top: 5%;
  left: -8%;
  max-width: 90px;
  animation: floatGentle 4.5s ease-in-out infinite;
}

.gb-shape-2 {
  top: 2%;
  right: -5%;
  max-width: 85px;
  animation: floatReverse 5s ease-in-out infinite;
}

.gb-shape-3 {
  top: 36%;
  left: -14%;
  max-width: 110px;
  animation: floatReverse 6s ease-in-out infinite;
}

.gb-shape-4 {
  top: 32%;
  right: -14%;
  max-width: 110px;
  animation: floatGentle 5.5s ease-in-out infinite;
}

.gb-shape-5 {
  top: 65%;
  left: -10%;
  max-width: 95px;
  animation: floatGentle 6.5s ease-in-out infinite;
}

.gb-shape-6 {
  top: 62%;
  right: -10%;
  max-width: 95px;
  animation: floatReverse 5.8s ease-in-out infinite;
}

@media (max-width: 640px) {
  .gb-hero-showcase {
    max-width: 320px;
  }
  .gb-shape-1 { max-width: 65px; left: -2%; }
  .gb-shape-2 { max-width: 60px; right: -2%; }
  .gb-shape-3 { max-width: 75px; left: -6%; }
  .gb-shape-4 { max-width: 75px; right: -6%; }
  .gb-shape-5 { max-width: 70px; left: -4%; }
  .gb-shape-6 { max-width: 70px; right: -4%; }
}

/* Instagram Gallery Grid */
.gb-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gb-gallery-item:hover img {
  transform: scale(1.1);
}

.gb-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(138, 79, 255, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.gb-gallery-item:hover .gb-gallery-overlay {
  opacity: 1;
}

/* ==========================================================================
   ENHANCED DESIGN SYSTEM 2026: STUDIO GRADE POLISH
   ========================================================================== */

/* Reading / Scroll Progress Bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #8A4FFF, #0084FF, #FFB800);
  z-index: 100;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Interactive Spotlight Card */
.gb-spotlight-card {
  position: relative;
  background: rgba(18, 16, 28, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gb-spotlight-card:hover {
  border-color: rgba(138, 79, 255, 0.4);
  box-shadow: 0 20px 50px -15px rgba(138, 79, 255, 0.25);
  transform: translateY(-4px);
}

/* Shimmer Button Effect */
.gb-btn-shimmer {
  position: relative;
  overflow: hidden;
}

.gb-btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(30deg) translateX(-100%);
  animation: shimmerPass 6s infinite;
}

@keyframes shimmerPass {
  0%, 75% {
    transform: rotate(30deg) translateX(-100%);
  }
  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

/* Hero Floating Badges */
.gb-hero-float-badge {
  position: absolute;
  z-index: 25;
  background: rgba(14, 12, 21, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px 0 rgba(138, 79, 255, 0.15);
  border-radius: 20px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gb-hero-float-badge:hover {
  transform: scale(1.05);
  border-color: rgba(138, 79, 255, 0.5);
}

.gb-badge-top-left {
  top: 12%;
  left: -12%;
  animation: floatGentle 5s ease-in-out infinite;
}

.gb-badge-bottom-right {
  bottom: 14%;
  right: -12%;
  animation: floatReverse 5.5s ease-in-out infinite;
}

.gb-badge-mid-left {
  bottom: 30%;
  left: -14%;
  animation: floatGentle 6s ease-in-out infinite 0.5s;
}

@media (max-width: 1024px) {
  .gb-hero-float-badge {
    display: none;
  }
}

/* App Showcase Interactive Tabs */
.app-tab-btn {
  transition: all 0.25s ease;
  position: relative;
}

.app-tab-btn.active {
  background: rgba(138, 79, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(138, 79, 255, 0.4);
}

.app-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, #8A4FFF, #0084FF);
  border-radius: 9999px;
}

/* Feed Comparison Card (Sem Cortes vs Redes Comuns) */
.comparison-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0E0C15;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(138, 79, 255, 0.3), transparent 60%, rgba(0, 132, 255, 0.2));
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
}

/* Interactive Reactions Floating Particles */
.particle-emoji {
  position: absolute;
  pointer-events: none;
  animation: floatUpFade 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  z-index: 50;
  font-size: 28px;
}

@keyframes floatUpFade {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.6);
  }
  50% {
    opacity: 1;
    transform: translateY(-60px) scale(1.3);
  }
  100% {
    opacity: 0;
    transform: translateY(-130px) scale(1);
  }
}

/* Pulsing Live Dot */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.4);
  animation: pulseRipple 1.8s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

@keyframes pulseRipple {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

