@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --bg-dark: #050505;
  --bg-card: rgba(20, 20, 20, 0.6);
  --bg-card-hover: rgba(30, 30, 30, 0.8);
  
  --primary-gold: #FFD700;
  --primary-gold-dark: #ccac00;
  --accent-orange: #FF6B35;
  --accent-orange-dark: #e55a29;
  
  --text-main: #FAFAFA;
  --text-muted: #A0A0A0;
  --text-dark: #111111;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 215, 0, 0.3);
  --border-orange: rgba(255, 107, 53, 0.3);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #FFDF00 0%, #D4AF37 100%);
  --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FFC107 100%);
  --gradient-dark: linear-gradient(180deg, #050505 0%, #111111 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Lexend', sans-serif;

  /* Shadows */
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.2);
  --shadow-gold-lg: 0 0 40px rgba(255, 215, 0, 0.4);
  --shadow-orange: 0 0 20px rgba(255, 107, 53, 0.2);
  --shadow-orange-lg: 0 0 40px rgba(255, 107, 53, 0.4);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Layout */
  --max-width: 1400px;
  --section-padding: 6rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Typography Classes
   ========================================================================== */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-gradient-orange {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

/* ==========================================================================
   Layout & Grid
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* ==========================================================================
   Glassmorphism & Surface Utilities
   ========================================================================== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-smooth);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.glass-panel-gold {
  border-color: var(--border-gold);
}

.glass-panel-gold:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold), var(--shadow-glass);
}

.glass-panel-orange {
  border-color: var(--border-orange);
}

.glass-panel-orange:hover {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-orange), var(--shadow-glass);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  transition: opacity var(--transition-fast);
  opacity: 0;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary Gold Button */
.btn-gold {
  background: var(--primary-gold);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
  background: var(--primary-gold-dark);
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-3px);
}

/* Primary Orange Button */
.btn-orange {
  background: var(--gradient-orange);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-orange:hover {
  box-shadow: var(--shadow-orange-lg);
  transform: translateY(-3px);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@keyframes pulseOrange {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255, 107, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

@keyframes gradientPan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s var(--transition-bounce) forwards;
}

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

.pulse-gold {
  animation: pulseGold 2s infinite;
}

.pulse-orange {
  animation: pulseOrange 2s infinite;
}

/* Stagger delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Reveal on scroll utility class (used with JS) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--transition-bounce);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: transform var(--transition-smooth);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width var(--transition-fast);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link.highlight {
  color: var(--accent-orange);
}
.nav-link.highlight::after {
  background: var(--accent-orange);
}
.nav-link.highlight:hover {
  color: var(--accent-orange-dark);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1595150259913-25a2e2609e2a?q=80&w=1964&auto=format&fit=crop') center/cover no-repeat;
  z-index: 0;
  transform: scale(1.05); /* Avoid edges during potential parallax */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(5,5,5,0.4) 0%, rgba(5,5,5,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-top: 5rem; /* Account for navbar */
}

.hero-title {
  font-size: clamp(4rem, 10vw, 8rem);
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* ==========================================================================
   Floating Elements (Background Decor)
   ========================================================================== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.blob-gold {
  background: var(--primary-gold);
  width: 400px;
  height: 400px;
}

.blob-orange {
  background: var(--accent-orange);
  width: 500px;
  height: 500px;
}

/* ==========================================================================
   Section: About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.about-image img {
  transition: transform 0.7s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-title {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}


/* ==========================================================================
   Section: Clube (Pricing)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.plan-card {
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-features {
  text-align: left;
  margin: 2rem 0;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.plan-features i {
  color: var(--primary-gold);
  margin-top: 0.25rem;
}

.plan-featured {
  border-color: var(--primary-gold);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  z-index: 2;
}

.plan-featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.badge-popular {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary-gold);
  color: var(--text-dark);
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Section: Boa Agora
   ========================================================================== */
.boa-section {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1512 50%, #0d0d0d 100%);
  overflow: hidden;
}

.boa-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 660px;
  background: #111;
  border-radius: 40px;
  border: 12px solid #222;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 80px rgba(255, 107, 53, 0.15);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #222;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 20;
}

.phone-screen {
  background: #0d0d0d;
  width: 100%;
  height: 100%;
  padding-top: 40px; /* Space for notch */
}

.feed-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.feed-item:hover {
  background: rgba(255, 107, 53, 0.05);
  border-color: rgba(255, 107, 53, 0.2);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section: Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.gallery-item:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #080808;
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.location-card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.location-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.location-info {
  padding: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.social-link:hover {
  background: var(--primary-gold);
  color: var(--text-dark);
  border-color: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Toast Messages */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  z-index: 2000;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  background: #111;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
}

.toast-error {
  background: #111;
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .boa-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .phone-mockup-wrapper {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform var(--transition-smooth);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .about-grid, .ai-grid {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    text-align: center;
  }

  .hero-title {
    font-size: 3.5rem;
  }
  
  .plan-featured {
    transform: scale(1);
  }
  
  .plan-featured:hover {
    transform: scale(1.02) translateY(-5px);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
