/* Loading Spinner Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c0042 0%, #1a0870 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-container {
  text-align: center;
  color: #fff;
}

.spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #2cf0e0;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.4s;
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  border-top-color: #fefefe;
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.8s;
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  border-top-color: #ffc107;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-logo {
  height: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.loading-text p {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Hide page content while loading */
body:has(#loading-spinner) {
  overflow: hidden;
}

/* Responsive adjustments for loading screen */
@media (max-width: 768px) {
  .spinner {
    width: 60px;
    height: 60px;
  }
  
  .spinner-ring:nth-child(2) {
    width: 45px;
    height: 45px;
    top: 7.5px;
    left: 7.5px;
  }
  
  .spinner-ring:nth-child(3) {
    width: 30px;
    height: 30px;
    top: 15px;
    left: 15px;
  }
  
  .loading-logo {
    height: 2.5rem;
  }
  
  .loading-text p {
    font-size: 1rem;
  }
}

/* Immediate device-based visibility control */
.mobile-header {
  display: none; /* Initially hidden to prevent flash */
}

.desktop-header {
  display: block; /* Initially visible (desktop first approach) */
}

.mobile-device .desktop-header {
  display: none !important;
}

.desktop-device .mobile-header {
  display: none !important;
}

.mobile-device .mobile-header {
  display: block !important;
}

.desktop-device .desktop-header {
  display: block !important;
}

/* Unified Background for entire page */
body {
  background: linear-gradient(
    90deg,
    #0c0042 0%,
    #1a0870 25%,
    #0c0042 50%,
    #1a0870 75%,
    #0c0042 100%
  );
  background-attachment: fixed;
  background-size: 200% 100%;
  position: relative;
  animation: gradientShift 15s ease infinite;
}

/* Fallback for mobile devices - simpler background */
@media (max-width: 768px) {
  body {
    background: #0c0042 !important;
    background-attachment: scroll !important;
    animation: none !important;
  }

  /* Add subtle pattern for mobile */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(26, 8, 112, 0.3) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(26, 8, 112, 0.3) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 40% 80%,
        rgba(26, 8, 112, 0.3) 0%,
        transparent 50%
      );
    z-index: -2;
    pointer-events: none;
  }
}

/* iOS-specific optimizations */
.ios-device body {
  background: #0c0042 !important;
  background-attachment: scroll !important;
  animation: none !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.ios-device body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0c0042 0%, #1a0870 100%);
  z-index: -2;
  pointer-events: none;
}

/* Force hardware acceleration on iOS */
.ios-device .page-section,
.ios-device .masthead,
.ios-device .mobile-header,
.ios-device .desktop-header {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Ensure all sections inherit the unified background */
.page-section {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* Section titles spacing - moved to HTML classes */

/* CTA Final centering improvements - moved to HTML classes */
#cta-final .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Planos centering improvements - moved to HTML classes */
#planos .container {
  max-width: 1200px;
}

#planos .row {
  justify-content: center;
  align-items: stretch;
}

/* Override masthead background from styles.css */
.masthead,
.mobile-header,
.desktop-header {
  background: transparent !important;
  min-height: auto !important;
  height: auto !important;
}

/* Override specific masthead rules from styles.css - padding moved to HTML */
header.masthead {
  background: transparent !important;
  min-height: auto !important;
  height: auto !important;
}

/* Override Bootstrap utility classes that might interfere */
.min-vh-100 {
  min-height: auto !important;
}

.vh-100 {
  height: auto !important;
}

/* Footer background override */
.footer {
  background: transparent !important;
}

/* Improve card contrast on dark background */
.card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* Improve divider visibility */
.divider {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Ensure text shadows for better readability */
.text-white,
.text-white-75,
.text-white-50 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Plan Cards Styling - Header-like Design */
.plan-card {
  position: relative;
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(44, 240, 224, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(44, 240, 224, 0.2) !important;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff !important;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(44, 240, 224, 0.3) !important;
}

.plan-card.premium {
  border: 1px solid rgba(44, 240, 224, 0.4) !important;
  box-shadow: 0 20px 50px rgba(44, 240, 224, 0.2) !important;
}

.plan-card.premium:hover {
  box-shadow: 0 25px 60px rgba(44, 240, 224, 0.3) !important;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.plan-badge.free {
  background: linear-gradient(135deg, #2cf0e0 0%, #1ad4c4 100%);
  color: #0c0042;
}

.plan-badge.premium {
  background: linear-gradient(135deg, #2cf0e0 0%, #1ad4c4 100%);
  color: #0c0042;
}

.plan-features {
  text-align: left;
}

.plan-features li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9) !important;
  display: flex;
  align-items: center;
}

.plan-features li i,
.plan-features li svg {
  color: #2cf0e0 !important;
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.plan-note {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8) !important;
}

.plan-card .card-title {
  color: #fff !important;
  font-weight: 700;
}

.plan-card .text-primary {
  color: #2cf0e0 !important;
}

.plan-card .btn {
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.plan-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.plan-card .btn-success {
  background: linear-gradient(135deg, #2cf0e0 0%, #1ad4c4 100%) !important;
  border: none !important;
  color: #0c0042 !important;
}

.plan-card .btn-success:hover {
  background: linear-gradient(135deg, #1ad4c4 0%, #0fb8a8 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 240, 224, 0.4) !important;
}

/* Add subtle particle effect to plan cards */
.plan-card::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(
    circle,
    rgba(44, 240, 224, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.6;
}

.plan-card.premium::before {
  background: radial-gradient(
    circle,
    rgba(44, 240, 224, 0.1) 1px,
    transparent 1px
  );
}

/* FAQ Accordion Styling - Header-like Design */
.faq-accordion {
  position: relative;
}

.faq-card {
  position: relative;
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(44, 240, 224, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(44, 240, 224, 0.2) !important;
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 60px rgba(44, 240, 224, 0.3) !important;
}

.faq-card::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(
    circle,
    rgba(44, 240, 224, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.6;
}

.faq-header {
  background: transparent !important;
  border: none !important;
  padding: 1.25rem !important;
}

.faq-btn {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  text-align: left !important;
  width: 100% !important;
  padding: 0 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  transition: color 0.3s ease !important;
}

.faq-btn:hover {
  color: #2cf0e0 !important;
  text-decoration: none !important;
}

.faq-btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

.faq-btn i,
.faq-btn svg {
  color: #2cf0e0 !important;
  font-size: 1.2rem !important;
  width: 1.2rem !important;
  height: 1.2rem !important;
  flex-shrink: 0 !important;
}

.faq-btn[aria-expanded="true"] i,
.faq-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-body {
  background: rgba(0, 0, 0, 0.2) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 1.25rem !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Contact Section Styling - Modern High-Conversion Design */
.cta-container {
  position: relative;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-card {
  position: relative;
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(44, 240, 224, 0.4) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(44, 240, 224, 0.3) !important;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(44, 240, 224, 0.4) !important;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(
    circle,
    rgba(44, 240, 224, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  border-radius: 25px;
  z-index: -1;
  opacity: 0.6;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  color: #111;
  background: linear-gradient(135deg, #ffd166 0%, #ffed4e 100%);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 209, 102, 0.3);
}

.cta-title {
  color: #fff !important;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  border: none !important;
  color: white !important;
  border-radius: 15px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4) !important;
  color: white !important;
  text-decoration: none !important;
}

.btn-phone {
  background: linear-gradient(135deg, #2cf0e0 0%, #1ad4c4 100%) !important;
  border: none !important;
  color: #0c0042 !important;
  border-radius: 15px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 25px rgba(44, 240, 224, 0.3) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.btn-phone:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(44, 240, 224, 0.4) !important;
  color: #0c0042 !important;
  text-decoration: none !important;
}

.cta-guarantee {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.contact-item:nth-child(1) .contact-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

.contact-item:nth-child(2) .contact-icon {
  background: linear-gradient(135deg, #2cf0e0 0%, #1ad4c4 100%);
  color: #0c0042;
}

.contact-item:nth-child(3) .contact-icon {
  background: linear-gradient(135deg, #2cf0e0 0%, #1ad4c4 100%);
  color: #0c0042;
}

.contact-info h5 {
  color: #fff !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-info small {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.8rem;
}

.social-proof {
  margin-top: 3rem;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2cf0e0 !important;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Mobile optimizations - padding moved to HTML classes */
@media (max-width: 768px) {
  .cta-title {
    font-size: 1.5rem !important;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-whatsapp,
  .btn-phone {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .proof-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

/* Add cyan particle effect to hero card */
.hero-card::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(
    circle,
    rgba(44, 240, 224, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.6;
}

/* Mobile optimization for plan cards */
@media (max-width: 768px) {
  /* plan-card margin moved to HTML classes */

  .plan-features {
    text-align: center;
  }

  .plan-features li {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  /* como-funciona padding moved to HTML classes */

  /* Como funciona mobile centering - targeting the container after header */
  .container:has(.section-heading:contains("COMO FUNCIONA")) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Alternative approach - target container after mobile-header */
  .mobile-header + .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .mobile-header + .container .row {
    margin: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .mobile-header + .container .col-lg-8 {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Force centering for the specific row with mt-5 class */
  .container .row.mt-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .container .row.mt-5 .col-lg-8 {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Ensure all containers are properly centered on mobile */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Override Bootstrap container padding that might interfere */
  .container,
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Override Bootstrap row margins */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* vantagens padding moved to HTML classes */

  /* Mobile FAQ centering */
  #faq .row {
    justify-content: center !important;
    margin: 0 !important;
  }

  #faq .col-lg-8 {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #faq .faq-accordion {
    max-width: 100% !important;
  }

  #faq .faq-card {
    margin-bottom: 1.5rem !important;
  }

  #cta-final .row {
    max-width: 100% !important;
  }

  .countdown-container {
    max-width: 280px !important;
  }

  /* Mobile Planos centering */
  #planos .row {
    justify-content: center !important;
    margin: 0 !important;
  }

  #planos .col-lg-5 {
    max-width: 100% !important;
    margin: 0 0.5rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-bottom: 2rem !important;
  }

  #planos .col-lg-5:last-child {
    margin-bottom: 0 !important;
  }

  #planos .plan-card {
    margin: 0 auto !important;
    max-width: 350px !important;
  }

  #planos .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #planos .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* hero-content padding moved to HTML classes */

.advantages-list .advantage-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.phone-mockup {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

.phone-frame {
  background: #0c0042;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.phone-screen {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  min-height: 400px;
}

/* app-preview styles removed - padding moved to HTML classes */

.app-header {
  background: #2cf0e0;
  color: #0c0042;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.app-status {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 0.8rem;
}

/* app-content styles removed - padding moved to HTML classes */

.schedule-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
  border-bottom: none;
}

.time {
  font-weight: bold;
  color: #2cf0e0;
  min-width: 50px;
  font-size: 0.9rem;
}

.service {
  flex: 1;
  font-size: 0.9rem;
}

.status {
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
}

.status.paid {
  background: #d4edda;
  color: #155724;
}

.status.pending {
  background: #fff3cd;
  color: #856404;
}

.cta-section .btn {
  min-width: 200px;
}

/* Mobile Header Styles - padding moved to HTML classes */
.mobile-header {
  position: relative;
  min-height: auto !important;
  height: auto !important;
  z-index: 1;
  overflow: hidden;
  background: transparent;
}

.mobile-advantage-item {
  text-align: center;
}

/* Modern mobile chips */
.chip {
  display: inline-block;
  width: 100%;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Modern hero card - padding moved to HTML classes */
.hero-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(44, 240, 224, 0.2);
  box-sizing: border-box;
}

/* Ensure symmetric padding on mobile - moved to HTML classes */
@media (max-width: 768px) {
  /* Force complete reset of all spacing */
  .mobile-header * {
    box-sizing: border-box !important;
  }

  .mobile-header .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #111;
  background: #ffd166;
  font-weight: 700;
}

.hero-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  font-size: 1.9rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.proof-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offer-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 0.75rem;
}

.offer-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.offer-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.offer-cta {
  white-space: nowrap;
  width: 100%;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}
.trust-row .stars {
  color: #ffd166;
  font-weight: 700;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  margin: 0 auto;
  width: calc(100% - 24px);
  max-width: 560px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  z-index: 999;
  transform: translateY(140%);
  transition: transform 0.35s ease;
}

.sticky-cta.show {
  transform: translateY(0);
}
.sticky-cta .sticky-text {
  color: #fff;
  font-size: 0.9rem;
}

.mobile-advantage-item i {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.mobile-cta .btn {
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

.mobile-stats {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.stat-mobile {
  padding: 0.5rem;
}

/* Mobile Header Background Optimization */
@media (max-width: 768px) {
  .mobile-header {
    background: transparent; /* Inherit from body */
    min-height: auto !important;
    height: auto !important;
  }

  /* Fix mobile centering for como-funciona section */
  .mobile-header .row {
    margin: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .mobile-header .col-lg-8 {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
  }

  /* Fix card alignment on mobile */
  .mobile-header .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mobile-header .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mobile-header .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mobile-header .hero-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Alternative approach - use viewport units for perfect centering */
  .mobile-header .container {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* prevent horizontal scroll on mobile */
  html,
  body {
    overflow-x: hidden;
  }
  .container,
  .row {
    max-width: 100%;
  }
  .adv-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure text readability over GIF background */
.mobile-header .text-white,
.mobile-header .text-white-75,
.mobile-header .text-white-50 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 2;
}

.mobile-header .container {
  position: relative;
  z-index: 2;
}

/* Gradient Animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Timeline Images - Fix distortion */
.timeline-image {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* Timeline Line Fix - Make line reach exactly to item 3 */
.timeline:before {
  bottom: 75px !important;
}

@media (min-width: 500px) {
  .timeline:before {
    bottom: 75px !important;
  }
}

@media (min-width: 768px) {
  .timeline:before {
    bottom: 75px !important;
  }
}

/* Desktop Header Spacing */
.desktop-header {
  padding-top: 2rem !important;
  padding-bottom: 3rem !important;
}

/* Phone Screenshot Styling */
.phone-screenshot {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  max-width: 100%;
}

/* Adjust phone frame for image */
.phone-frame {
  background: #000;
  border-radius: 25px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: auto;
  max-width: 320px;
  margin: 0 auto;
}

/* Responsive adjustments for phone mockup */
@media (max-width: 768px) {
  .phone-screen {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .phone-screen {
    max-width: 240px;
  }
}

/* Vantagens section styling (match header look) */
.section-vantagens {
  position: relative;
  background: transparent;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.adv-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1rem;
  color: #fff;
}
.adv-card h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
  font-weight: 700;
}
.adv-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}
.adv-icon {
  font-size: 1.4rem;
  color: #2cf0e0;
}

.proof-inline {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}
.proof-inline i {
  margin-right: 0.25rem;
}

@media (min-width: 992px) {
  .adv-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Override Bootstrap success color to match new brand */
.text-success {
  color: #2cf0e0 !important;
}

.btn-success {
  background-color: #2cf0e0 !important;
  border-color: #2cf0e0 !important;
  color: #0c0042 !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: #1ad4c4 !important;
  border-color: #1ad4c4 !important;
  color: #0c0042 !important;
}

.btn-primary {
  background-color: #2cf0e0 !important;
  border-color: #2cf0e0 !important;
  color: #0c0042 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #1ad4c4 !important;
  border-color: #1ad4c4 !important;
  color: #0c0042 !important;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem !important;
  }

  .phone-mockup {
    max-width: 250px;
    margin-top: 2rem;
  }

  .cta-section .btn {
    min-width: auto;
    width: 100%;
    margin-bottom: 1rem;
  }

  .masthead {
    padding-top: 1rem !important;
    padding-bottom: 3rem !important;
  }
}
