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

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --gold: #d4a537;
  --gold-dark: #b8922f;
  --success: #22c55e;
  --destructive: #ef4444;
  --background: #ffffff;
  --foreground: #1f2937;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --card: #f9fafb;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Animations */
@keyframes slideInRight {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(212, 165, 55, 0.5); }
  50% { box-shadow: 0 0 20px rgba(212, 165, 55, 0.8); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Purchase Popup */
.purchase-popup {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  background: var(--background);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
  animation: slideInRight 0.3s ease-out;
}

.purchase-popup.exiting {
  animation: slideOutRight 0.3s ease-out;
}

.purchase-popup.show {
  display: flex;
  align-items: center;
  gap: 8px;
}

.purchase-popup svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.purchase-popup p {
  font-size: 12px;
}

.purchase-popup strong {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--background), rgba(59, 130, 246, 0.05), var(--background));
  display: flex;
  flex-direction: column;
  padding: 32px 0;
}

.hero-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero-text {
  text-align: center;
  order: 2;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
    order: 1;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .hero-badges {
    justify-content: flex-start;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-destructive {
  background: var(--destructive);
  color: white;
}

.badge-primary {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.badge-gold {
  background: var(--gold);
  color: white;
  animation: pulseGlow 2s ease-in-out infinite;
}

.scarcity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero h1 .primary { color: var(--primary); }
.hero h1 .gold { color: var(--gold); }
.hero h1 .destructive { color: var(--destructive); }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

.hero-subtitle .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.countdown-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .countdown-box {
    margin-left: 0;
  }
}

.countdown-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--destructive);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 14px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (min-width: 640px) {
  .countdown-number {
    font-size: 2rem;
    width: 72px;
    height: 72px;
  }
}

.countdown-unit {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 4px;
  text-transform: uppercase;
}

.countdown-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 640px) {
  .countdown-separator {
    font-size: 2rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: white;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-secondary {
  background: var(--muted);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-success {
  background: var(--success);
  color: white;
}

.live-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .live-indicator {
    justify-content: flex-start;
  }
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-image {
  order: 1;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-image {
    order: 2;
    justify-content: flex-end;
  }
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: -16px;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(212, 165, 55, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: 24px;
  filter: blur(24px);
}

.hero-image-main {
  position: relative;
  width: 280px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  border: 4px solid white;
}

@media (min-width: 640px) {
  .hero-image-main {
    width: 350px;
  }
}

.hero-image-money {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 120px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 4px solid white;
}

@media (min-width: 640px) {
  .hero-image-money {
    width: 150px;
  }
}

.hero-image-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--gold);
  color: white;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: pulseGlow 2s ease-in-out infinite;
}

.scroll-indicator {
  text-align: center;
  padding-bottom: 32px;
}

.scroll-indicator a {
  color: var(--muted-foreground);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.scroll-indicator a:hover {
  color: var(--primary);
}

.scroll-indicator svg {
  animation: bounce 1s infinite;
}

/* Urgency Bar */
.urgency-bar {
  background: rgba(212, 165, 55, 0.1);
  border-top: 1px solid rgba(212, 165, 55, 0.2);
  border-bottom: 1px solid rgba(212, 165, 55, 0.2);
  padding: 16px 0;
}

.urgency-bar-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .urgency-bar-content {
    gap: 48px;
  }
}

.urgency-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.urgency-item svg {
  width: 24px;
  height: 24px;
}

.urgency-item.gold svg { color: var(--gold); }
.urgency-item.primary svg { color: var(--primary); }
.urgency-item.destructive { color: var(--destructive); }
.urgency-item.destructive svg { color: var(--destructive); }

/* Packages Section */
.packages {
  padding: 64px 0;
  background: rgba(243, 244, 246, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.package-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.package-card.popular {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(212, 165, 55, 0.2);
  transform: scale(1.05);
}

.package-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.package-card.best-value {
  border: 1px solid var(--success);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.package-badge.gold {
  background: var(--gold);
  color: white;
}

.package-badge.success {
  background: var(--success);
  color: white;
}

.package-quantity {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.package-label {
  font-size: 14px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.package-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.package-per {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

.package-chance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
  margin-bottom: 16px;
}

.package-card .btn {
  width: 100%;
  padding: 12px 24px;
}

.packages-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Trust Badges */
.trust {
  padding: 64px 0;
}

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

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.trust-item h4 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* Testimonials */
.testimonials {
  padding: 64px 0;
  background: rgba(243, 244, 246, 0.3);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  font-size: 14px;
}

.testimonial-date {
  font-size: 12px;
  color: var(--muted-foreground);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-text {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(212, 165, 55, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-play {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play svg {
  width: 32px;
  height: 32px;
  color: var(--foreground);
}

.video-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 48px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 1.875rem;
  }
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta-section .btn-secondary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-secondary:hover {
  background: var(--muted);
}

/* Footer */
footer {
  background: var(--muted);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links svg {
  width: 16px;
  height: 16px;
}

.footer-contact .btn {
  width: 100%;
  margin-bottom: 12px;
}

.footer-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
  text-decoration: none;
}

.footer-email:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted-foreground);
}

/* Checkout Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--background);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--muted-foreground);
}

.modal-close:hover {
  color: var(--foreground);
}

.modal-body {
  padding: 24px;
}

.modal-summary {
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
}

.modal-summary .label {
  font-size: 14px;
  color: var(--muted-foreground);
}

.modal-summary .quantity {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.modal-summary .price {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.pix-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 24px;
}

.pix-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pix-header svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.pix-qr {
  background: var(--muted);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}

.pix-qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  background: var(--background);
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.pix-qr-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}

.pix-key {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.pix-key code {
  background: var(--background);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  flex: 1;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pix-key button {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.pix-key button:hover {
  background: var(--muted);
}

.upload-area {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 16px;
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.upload-area svg {
  width: 32px;
  height: 32px;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}

.upload-area p {
  font-size: 14px;
  color: var(--muted-foreground);
}

.upload-area .file-name {
  color: var(--success);
  font-weight: 500;
}

.modal-footer {
  padding: 0 24px 24px;
}

.modal-footer .btn {
  width: 100%;
}
