/* ---------- Base ---------- */
:root {
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --brand: #1a73e8;
}

html { scroll-behavior: smooth; }

body {
  padding-bottom: 88px; /* room for mobile bottom bar */
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

.gradient-text {
  background: linear-gradient(90deg, #1a73e8, #4285f4 45%, #34a853);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.875rem;
  background: var(--wa);
  color: #fff;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 22px -12px rgba(37, 211, 102, 0.9);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(37, 211, 102, 1);
}

.btn-wa-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.875rem;
  background: #fff;
  color: #0f7a3d;
  padding: 0.9rem 1.6rem;
  font-weight: 800;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-wa-light:hover { background: #eafff2; transform: translateY(-1px); }

/* ---------- Lists ---------- */
.tick {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.35rem;
}
.tick::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 800;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.feature-card {
  border: 1px solid rgb(229 231 235);
  border-radius: 1rem;
  padding: 1.125rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.feature-card:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 26px -14px rgba(26, 115, 232, 0.65);
  transform: translateY(-2px);
}
.feature-card .icon { font-size: 1.5rem; line-height: 1; }
.feature-card h3 { margin-top: 0.6rem; font-weight: 700; font-size: 0.95rem; }
.feature-card p { margin-top: 0.35rem; color: rgb(75 85 99); font-size: 0.8125rem; line-height: 1.25rem; }

.dark .feature-card { background: rgb(3 7 18); border-color: rgb(31 41 55); }
.dark .feature-card p { color: rgb(156 163 175); }

/* ---------- Steps ---------- */
.step {
  border: 1px solid rgb(229 231 235);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fff;
}
.step .num {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.step h3 { margin-top: 0.75rem; font-weight: 700; }
.step p { margin-top: 0.25rem; color: rgb(75 85 99); font-size: 0.8125rem; }
.dark .step { background: rgb(3 7 18); border-color: rgb(31 41 55); }
.dark .step p { color: rgb(156 163 175); }

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid rgb(229 231 235);
  border-radius: 0.875rem;
  background: #fff;
  padding: 0.875rem 1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding-right: 1.25rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -1px;
  color: var(--brand);
  font-weight: 800;
}
.faq[open] summary::after { content: "–"; }
.faq p { margin-top: 0.5rem; color: rgb(75 85 99); font-size: 0.8125rem; line-height: 1.3rem; }
.dark .faq { background: rgb(3 7 18); border-color: rgb(31 41 55); }
.dark .faq p { color: rgb(156 163 175); }

.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrapper table { min-width: 460px; }

/* ---------- Inline repeated CTA band ---------- */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px dashed var(--wa);
  background: rgba(37, 211, 102, 0.07);
  padding: 1.25rem;
  text-align: center;
}
@media (min-width: 640px) {
  .cta-band { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Floating WhatsApp button (desktop) ---------- */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 0.6rem;
  border-radius: 9999px;
  background: var(--wa);
  color: #fff;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.85);
  transition: transform 0.18s ease, background 0.18s ease;
}
.wa-fab:hover { background: var(--wa-dark); transform: translateY(-2px) scale(1.02); }
.wa-fab .dot {
  display: inline-flex;
  height: 1.6rem;
  width: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
}

@media (min-width: 768px) {
  .wa-fab { display: inline-flex; }
}

/* pulse ring */
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: waPulse 2.4s infinite;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; }
}

/* ---------- Bottom bar (mobile) ---------- */
.wa-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgb(229 231 235);
  backdrop-filter: blur(10px);
}
.dark .wa-bar { background: rgba(3, 7, 18, 0.96); border-color: rgb(31 41 55); }

.wa-bar .price {
  flex-shrink: 0;
  line-height: 1.05;
}
.wa-bar .price .now { font-size: 1.15rem; font-weight: 800; color: var(--brand); }
.dark .wa-bar .price .now { color: #7fb0ff; }
.wa-bar .price .was { font-size: 0.7rem; text-decoration: line-through; color: rgb(156 163 175); }

.wa-bar a {
  flex: 1;
  border-radius: 0.8rem;
  background: var(--wa);
  color: #fff;
  padding: 0.8rem 0.75rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .wa-bar { display: none; }
}
