:root {
  --redesign-surface: rgba(13, 17, 30, 0.6);
  --redesign-border: rgba(255, 255, 255, 0.06);
  --redesign-border-hover: rgba(255, 255, 255, 0.12);
  --redesign-text-secondary: #86868b;
  --redesign-radius: 16px;
  --redesign-glow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

/* ============================================
   ABOUT SECTION - refinar cards
   ============================================ */
.about {
  padding: 110px 0 !important;
}

.about > .container > h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;
  margin: 0 0 16px !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
}

.features {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

.feature {
  background: var(--redesign-surface) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--redesign-border) !important;
  border-radius: var(--redesign-radius) !important;
  padding: 32px 24px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: var(--redesign-glow) !important;
  text-align: center !important;
}

.feature:hover {
  border-color: var(--redesign-border-hover) !important;
  transform: translateY(-4px) !important;
  background: rgba(22, 28, 48, 0.7) !important;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45) !important;
}

.feature i {
  font-size: 2rem !important;
  color: #fff !important;
  width: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  margin-bottom: 20px !important;
  -webkit-text-fill-color: #fff !important;
}

.feature h3 {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  margin-bottom: 10px !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

.feature p {
  color: var(--redesign-text-secondary) !important;
  line-height: 1.6 !important;
  font-size: 0.92rem !important;
  margin: 0 !important;
}

/* ============================================
   CONTACT SECTION - glassmorphism premium
   ============================================ */
.contact {
  padding: 110px 0 !important;
}

.contact > .container > h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;
  margin: 0 0 16px !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.contact-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 20px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.contact-item {
  background: var(--redesign-surface) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--redesign-border) !important;
  border-radius: var(--redesign-radius) !important;
  padding: 28px 24px !important;
  text-align: center !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: var(--redesign-glow) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}

a.contact-item {
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}

.logo img {
  max-height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .logo img { max-height: 36px; }
}

.contact-item:hover {
  border-color: var(--redesign-border-hover) !important;
  transform: translateY(-4px) !important;
  background: rgba(22, 28, 48, 0.7) !important;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45) !important;
}

.contact-item i,
.contact-item .fab,
.contact-item .fas {
  font-size: 1.6rem !important;
  width: 52px !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  margin: 0 !important;
  float: none !important;
}

.contact-item h3 {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin: 0 !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

.contact-item p {
  color: var(--redesign-text-secondary) !important;
  font-size: 0.88rem !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Platform-specific icon colors */
.contact-item.whatsapp i { color: #25d366 !important; -webkit-text-fill-color: #25d366 !important; }
.contact-item.telegram i { color: #0088cc !important; -webkit-text-fill-color: #0088cc !important; }

/* ============================================
   ORDERS SECTION
   ============================================ */
.orders {
  padding: 110px 0 !important;
}

.orders > .container > h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;
  margin: 0 0 8px !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.orders > .container > p {
  font-size: 1.05rem !important;
  color: var(--redesign-text-secondary) !important;
  text-align: center !important;
  margin: 0 auto 40px !important;
  max-width: 500px !important;
}

#ordersActions {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 32px !important;
}

#ordersActions .order-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 28px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
  width: auto !important;
  margin: 0 !important;
}

#ordersActions .order-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

.orders-list {
  max-width: 800px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.orders-list > div {
  background: var(--redesign-surface) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--redesign-border) !important;
  border-radius: var(--redesign-radius) !important;
  padding: 24px !important;
  box-shadow: var(--redesign-glow) !important;
  text-align: center !important;
  color: var(--redesign-text-secondary) !important;
  font-size: 0.92rem !important;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: 110px 0 !important;
}

.faq > .container > h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;
  margin: 0 0 48px !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.faq-list {
  max-width: 760px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.faq-item {
  background: var(--redesign-surface) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--redesign-border) !important;
  border-radius: var(--redesign-radius) !important;
  overflow: hidden !important;
  transition: border-color 0.3s ease !important;
  box-shadow: var(--redesign-glow) !important;
}

.faq-item:hover {
  border-color: var(--redesign-border-hover) !important;
}

.faq-item.open {
  border-color: rgba(139, 92, 246, 0.25) !important;
}

.faq-question {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 18px 20px !important;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-weight: 550 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: background 0.2s ease !important;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

.faq-icon {
  flex-shrink: 0 !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #a78bfa !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s !important;
}

.faq-item.open .faq-icon {
  transform: rotate(135deg) !important;
  background: #8b5cf6 !important;
  color: #fff !important;
}

.faq-content {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s !important;
  padding: 0 20px !important;
}

.faq-item.open .faq-content {
  max-height: 400px !important;
  padding: 0 20px 18px !important;
}

.faq-content p {
  color: var(--redesign-text-secondary) !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.faq-content strong {
  color: #e5e7eb !important;
}

/* ============================================
   FLOATING SUPPORT BUTTON
   ============================================ */
#mat-float-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease !important;
}

#mat-float-btn:hover {
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55) !important;
  transform: scale(1.08) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(6, 8, 19, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 48px 0 32px !important;
  margin-top: 80px !important;
}

.footer .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 24px !important;
}

.footer-brand {
  text-align: center !important;
}

.footer-brand h3 {
  font-family: 'Pacifico', cursive !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  background: linear-gradient(90deg, #fbbf24, #f97316, #ec4899, #a855f7, #6366f1) !important;
  background-size: 400% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: gradientFlow 4s linear infinite !important;
}

.footer-brand p {
  color: var(--redesign-text-secondary) !important;
  font-size: 0.82rem !important;
  margin: 6px 0 0 !important;
}

.footer-links {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

.footer-links a {
  color: var(--redesign-text-secondary) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.footer-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.footer-social {
  display: flex !important;
  gap: 12px !important;
}

.footer-social a {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: var(--redesign-text-secondary) !important;
  font-size: 1.1rem !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding-top: 20px !important;
  margin-top: 8px !important;
  text-align: center !important;
  width: 100% !important;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 0.78rem !important;
  margin: 0 !important;
}

/* ============================================
   SELECT LEAD section (passo 1)
   ============================================ */
.select-lead h3 {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
}

.select-lead p {
  color: var(--redesign-text-secondary) !important;
}

/* ============================================
   MOTION & ANIMATIONS - service modals & cards
   ============================================ */

/* ---- Option card button click feedback ---- */
.option-card .btn-cta {
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease !important;
}

.option-card .btn-cta:active {
  transform: scale(0.92) !important;
}

.option-card .btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.option-card .btn-cta:hover::after {
  opacity: 1;
}

/* ---- Option card hover lift with glow ---- */
.option-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.35s ease !important;
}

.option-card:active {
  transform: scale(0.98) !important;
}

/* ---- Variant modal - stagger card entrance ---- */
#variantOptions .service-card {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  animation: variantCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  cursor: pointer;
}

#variantOptions .service-card:nth-child(1) { animation-delay: 0.05s; }
#variantOptions .service-card:nth-child(2) { animation-delay: 0.10s; }
#variantOptions .service-card:nth-child(3) { animation-delay: 0.15s; }
#variantOptions .service-card:nth-child(4) { animation-delay: 0.20s; }
#variantOptions .service-card:nth-child(5) { animation-delay: 0.25s; }
#variantOptions .service-card:nth-child(6) { animation-delay: 0.30s; }

@keyframes variantCardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---- Service modal - stagger section entrance ---- */
#serviceModal.is-open .modal-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: modalSectionIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#serviceModal.is-open .modal-content > :nth-child(1) { animation-delay: 0.05s; }
#serviceModal.is-open .modal-content > :nth-child(2) { animation-delay: 0.10s; }
#serviceModal.is-open .modal-content > :nth-child(3) { animation-delay: 0.15s; }
#serviceModal.is-open .modal-content > :nth-child(4) { animation-delay: 0.20s; }
#serviceModal.is-open .modal-content > :nth-child(5) { animation-delay: 0.25s; }
#serviceModal.is-open .modal-content > :nth-child(6) { animation-delay: 0.30s; }
#serviceModal.is-open .modal-content > :nth-child(7) { animation-delay: 0.35s; }
#serviceModal.is-open .modal-content > :nth-child(8) { animation-delay: 0.40s; }
#serviceModal.is-open .modal-content > :nth-child(9) { animation-delay: 0.45s; }
#serviceModal.is-open .modal-content > :nth-child(10) { animation-delay: 0.50s; }

@keyframes modalSectionIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Variant select button click ripple ---- */
.service-button {
  position: relative !important;
  overflow: hidden !important;
}

.service-button:active {
  transform: scale(0.96) !important;
}

/* ---- Combo modal stagger ---- */
#comboModal.is-open .modal-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: modalSectionIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#comboModal.is-open .modal-content > :nth-child(1) { animation-delay: 0.05s; }
#comboModal.is-open .modal-content > :nth-child(2) { animation-delay: 0.10s; }
#comboModal.is-open .modal-content > :nth-child(3) { animation-delay: 0.15s; }
#comboModal.is-open .modal-content > :nth-child(4) { animation-delay: 0.20s; }
#comboModal.is-open .modal-content > :nth-child(5) { animation-delay: 0.25s; }
#comboModal.is-open .modal-content > :nth-child(6) { animation-delay: 0.30s; }
#comboModal.is-open .modal-content > :nth-child(7) { animation-delay: 0.35s; }
#comboModal.is-open .modal-content > :nth-child(8) { animation-delay: 0.40s; }

/* ---- PIX modal stagger ---- */
#pixModal.is-open .modal-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: modalSectionIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#pixModal.is-open .modal-content > :nth-child(1) { animation-delay: 0.05s; }
#pixModal.is-open .modal-content > :nth-child(2) { animation-delay: 0.10s; }
#pixModal.is-open .modal-content > :nth-child(3) { animation-delay: 0.15s; }
#pixModal.is-open .modal-content > :nth-child(4) { animation-delay: 0.20s; }
#pixModal.is-open .modal-content > :nth-child(5) { animation-delay: 0.25s; }
#pixModal.is-open .modal-content > :nth-child(6) { animation-delay: 0.30s; }
#pixModal.is-open .modal-content > :nth-child(7) { animation-delay: 0.35s; }
#pixModal.is-open .modal-content > :nth-child(8) { animation-delay: 0.40s; }

/* ---- Customer data modal stagger ---- */
#customerDataModal.is-open .modal-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: modalSectionIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#customerDataModal.is-open .modal-content > :nth-child(1) { animation-delay: 0.05s; }
#customerDataModal.is-open .modal-content > :nth-child(2) { animation-delay: 0.10s; }
#customerDataModal.is-open .modal-content > :nth-child(3) { animation-delay: 0.15s; }
#customerDataModal.is-open .modal-content > :nth-child(4) { animation-delay: 0.20s; }
#customerDataModal.is-open .modal-content > :nth-child(5) { animation-delay: 0.25s; }
#customerDataModal.is-open .modal-content > :nth-child(6) { animation-delay: 0.30s; }

/* ---- Generate comments modal stagger ---- */
#generateCommentsModal.is-open .modal-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: modalSectionIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#generateCommentsModal.is-open .modal-content > :nth-child(1) { animation-delay: 0.05s; }
#generateCommentsModal.is-open .modal-content > :nth-child(2) { animation-delay: 0.10s; }
#generateCommentsModal.is-open .modal-content > :nth-child(3) { animation-delay: 0.15s; }
#generateCommentsModal.is-open .modal-content > :nth-child(4) { animation-delay: 0.20s; }
#generateCommentsModal.is-open .modal-content > :nth-child(5) { animation-delay: 0.25s; }
#generateCommentsModal.is-open .modal-content > :nth-child(6) { animation-delay: 0.30s; }

/* ---- Network/category card click feedback ---- */
.network-card {
  cursor: pointer !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.35s ease !important;
}

.network-card:active {
  transform: scale(0.985) !important;
}

/* ---- Check badge entrance on selected card ---- */
.network-card.selected .check-badge {
  animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---- Options wrap reveal animation ---- */
.options-wrap {
  overflow: hidden !important;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease !important;
  max-height: 0 !important;
  opacity: 0 !important;
}

.network-card.expanded .options-wrap,
.network-card.selected .options-wrap[aria-hidden="false"] {
  max-height: 2000px !important;
  opacity: 1 !important;
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  #variantOptions .service-card,
  #serviceModal.is-open .modal-content > *,
  #comboModal.is-open .modal-content > *,
  #pixModal.is-open .modal-content > *,
  #customerDataModal.is-open .modal-content > *,
  #generateCommentsModal.is-open .modal-content > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .footer {
    padding: 36px 0 24px !important;
  }

  .footer .container {
    gap: 18px !important;
  }

  .footer-links a {
    font-size: 0.82rem !important;
    padding: 4px 10px !important;
  }
}
