/* =============================================
   COMANDEI DELIVERY - Custom Styles
   Complementa o Tailwind CDN
   ============================================= */

/* === BUTTONS === */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F59E0B;
  color: #fff;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-gold:hover {
  background: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.38);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.22);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

/* === NAVBAR === */
#navbar {
  padding: 16px 0;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(7, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

/* === HERO === */
.hero-bg {
  background: linear-gradient(140deg, #071A2E 0%, #0D2B45 55%, #163759 100%);
}
.hero-glow-1 {
  position: absolute;
  width: 500px; height: 500px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.hero-glow-2 {
  position: absolute;
  width: 350px; height: 350px;
  bottom: -60px; left: 10%;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.mockup-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: perspective(900px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.mockup-card:hover { transform: perspective(900px) rotateY(-2deg) rotateX(1deg); }

.notif-chip {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.notif-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.22);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(16,185,129,0.22)} 50%{box-shadow:0 0 0 7px rgba(16,185,129,0.08)} }

/* === STATS === */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 32px;
}
.stat-val {
  font-size: 2rem;
  font-weight: 900;
  color: #0D2B45;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}

/* === SECTION UTILITIES === */
.sec-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2563EB;
  background: rgba(37,99,235,0.08);
  padding: 4px 13px;
  border-radius: 9999px;
  margin-bottom: 14px;
}
.sec-tag-light {
  color: #F59E0B;
  background: rgba(245,158,11,0.15);
}
.sec-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.sec-sub {
  font-size: 1rem;
  color: #64748B;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FEATURE CARDS === */
.feat-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #E2E8F0;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-color: transparent;
}
.feat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.feat-card p {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.65;
}

/* === HIGHLIGHT BLOCKS === */
.hl-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.hl-block:last-child { margin-bottom: 0; }

.hl-reverse .hl-text  { order: 2; }
.hl-reverse .hl-media { order: 1; }

.hl-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.hl-text h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hl-text p {
  font-size: 0.97rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 20px;
}
.hl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hl-list li {
  font-size: 0.875rem;
  color: #334155;
  font-weight: 500;
}
.hl-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
}

/* === TESTIMONIALS === */
.depo-bg {
  background: linear-gradient(140deg, #071A2E 0%, #0D2B45 100%);
}
.testi-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 20px;
  padding: 28px;
  transition: background 0.25s, transform 0.25s;
}
.testi-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-card > p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 22px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 11px;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #F59E0B;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #071A2E;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.875rem; color: #fff; font-weight: 700; }
.testi-author span   { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spinner {
  width: 38px; height: 38px;
  border: 3px solid #E2E8F0;
  border-top-color: #2563EB;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pricing-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #E2E8F0;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.pricing-card.popular {
  border-color: #F59E0B;
  box-shadow: 0 0 0 2px rgba(245,158,11,0.22), 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-8px);
}
.pricing-card.popular:hover { transform: translateY(-12px); }

.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #F59E0B; color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 9999px; white-space: nowrap;
}
.pricing-name  { font-size: 1.05rem; font-weight: 800; color: #0F172A; margin-bottom: 6px; }
.pricing-price {
  display: flex; align-items: baseline; gap: 1px;
  margin-bottom: 16px;
}
.pricing-curr  { font-size: 0.9rem; font-weight: 600; color: #0D2B45; padding-top: 4px; }
.pricing-int   { font-size: 2.5rem; font-weight: 900; color: #0D2B45; letter-spacing: -2px; line-height: 1; }
.pricing-dec   { font-size: 1rem; font-weight: 700; color: #0D2B45; }
.pricing-mo    { font-size: 0.8rem; color: #94A3B8; margin-left: 3px; }

.pricing-desc {
  font-size: 0.84rem; color: #64748B; line-height: 1.55;
  padding: 14px 0; border-top: 1px solid #F1F5F9; border-bottom: 1px solid #F1F5F9;
  margin-bottom: 16px;
}
.pricing-feats { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.pricing-feat  { font-size: 0.85rem; color: #334155; line-height: 1.4; }

.pricing-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; border: 2px solid #2563EB; background: transparent; color: #2563EB;
  font-family: inherit; transition: all 0.22s; width: 100%;
}
.pricing-btn:hover { background: #2563EB; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.pricing-btn.popular { background: #F59E0B; border-color: #F59E0B; color: #fff; }
.pricing-btn.popular:hover { background: #D97706; border-color: #D97706; box-shadow: 0 8px 24px rgba(245,158,11,0.4); }

/* === FAQ === */
.faq-item {
  background: #F8FAFC; border: 1.5px solid #E2E8F0; border-radius: 14px; overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: #2563EB; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer;
  font-size: 0.93rem; font-weight: 600; color: #0F172A; text-align: left; font-family: inherit;
}
.faq-arrow { font-size: 1.1rem; color: #94A3B8; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: #2563EB; }
.faq-a {
  display: none; padding: 0 22px 18px;
  font-size: 0.9rem; color: #475569; line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* === CTA FINAL === */
.cta-bg {
  background: linear-gradient(140deg, #071A2E 0%, #163759 60%, #0D2B45 100%);
}
.cta-glow {
  position: absolute; top: -50%; left: -5%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hl-block { grid-template-columns: 1fr; gap: 32px; }
  .hl-reverse .hl-text  { order: 0; }
  .hl-reverse .hl-media { order: 1; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .hl-media img { height: 220px; }
  .stat-val { font-size: 1.6rem; }
  .stat-item { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .mockup-card { transform: none !important; }
  .notif-chip  { display: none; }
}
