/* ==========================================================
   PDF NAVIGATOR — LANDING PAGE
   Mobile-first. HTML5 + CSS3 puro.
   ========================================================== */

:root {
  --bg: #030807;
  --bg-secondary: #07110D;
  --green: #39FF3D;
  --green-hover: #20D936;
  --green-soft: rgba(57, 255, 61, 0.12);
  --text: #FFFFFF;
  --text-secondary: #A9B7B1;
  --border: rgba(57, 255, 61, 0.18);
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 32px rgba(57, 255, 61, 0.15);
  --container-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); text-align: center; margin-bottom: 12px; }

.section-lead {
  text-align: center;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
}

.highlight { color: var(--green); }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

section { padding: 56px 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #04140A;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 26px;
  min-height: 48px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #04140A;
  box-shadow: 0 0 0 rgba(57,255,61,0);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--green-hover);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--green); color: var(--green); }
.btn-large { padding: 16px 30px; font-size: 1.02rem; width: 100%; }
.btn-small { padding: 10px 20px; min-height: 40px; font-size: 0.92rem; }
.btn-full { width: 100%; }

@media (min-width: 560px) {
  .btn-large { width: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(3, 8, 7, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}
.logo-icon { border-radius: 6px; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-desktop { display: none; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}
.nav-mobile.open { max-height: 320px; }
.nav-mobile a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
}
.nav-mobile .btn { margin: 14px 20px; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .nav-desktop a:not(.btn) { color: var(--text-secondary); transition: color 0.15s ease; }
  .nav-desktop a:not(.btn):hover { color: var(--green); }
}

/* ---------- Hero ---------- */
.hero { padding-top: 40px; padding-bottom: 40px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, var(--green-soft), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image:
    repeating-radial-gradient(circle at 12% 15%, transparent 0, transparent 34px, rgba(57, 255, 61, 0.05) 35px, transparent 36px),
    repeating-radial-gradient(circle at 90% 80%, transparent 0, transparent 42px, rgba(57, 255, 61, 0.045) 43px, transparent 44px);
  pointer-events: none;
}
.hero-inner { display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 1; }
.hero-content { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 7vw, 3rem);
  margin-bottom: 16px;
}
.subheadline {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto 24px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.hero-media { display: flex; justify-content: center; }
.hero-image {
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-width: 420px;
  width: 100%;
}

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

@media (min-width: 900px) {
  .hero-inner { flex-direction: row; align-items: center; text-align: left; gap: 48px; }
  .hero-content { text-align: left; flex: 1; }
  .subheadline { margin: 0 0 28px; }
  .hero-actions { justify-content: flex-start; }
  .hero-media { flex: 1; }
  .hero-image { max-width: 480px; }
}

/* ---------- Indicators ---------- */
.indicators { padding: 28px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-secondary); }
.indicators-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 32px;
}
.indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.indicator .icon { width: 20px; height: 20px; }

/* ---------- Video ---------- */
.video-section { text-align: center; }
.video-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--bg-secondary);
}
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}
.video-placeholder .icon { width: 40px; height: 40px; }

/* ---------- WhatsApp CTA ---------- */
.whatsapp-cta {
  margin-top: 28px;
  text-align: center;
}
.whatsapp-help-text {
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 12px;
}
.whatsapp-subtext {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.whatsapp-btn {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
}
.whatsapp-btn:hover, .whatsapp-btn:focus-visible {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  color: #25D366;
}
.whatsapp-btn:active { transform: scale(0.98); }
.whatsapp-icon { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }

.price-card .whatsapp-cta { margin: 0 0 16px; }

/* ---------- About ---------- */
.about { background: var(--bg-secondary); }
.about-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.about-inner p { color: var(--text-secondary); margin-top: 14px; }
.about-inner p:first-of-type { margin-top: 0; }

/* ---------- GIS flow ---------- */
.gis-flow { padding: 42px 0 38px; }
.gis-lead {
  text-align: center;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 6px;
  font-size: 0.95rem;
}
.gis-lead:last-of-type { margin-bottom: 22px; }

.gis-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.gis-sources {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.gis-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 130px;
}

.gis-node-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

.logo-box {
  width: 60px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}
.logo-box-app { background: var(--green-soft); border-color: var(--border); }
.logo-box-app .icon { width: 26px; height: 26px; }

.gis-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gis-arrow {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  flex-shrink: 0;
  transform: rotate(90deg);
}

.gis-offline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 18px;
  padding: 12px 18px;
  background: var(--green-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.gis-offline .icon { width: 22px; height: 22px; flex-shrink: 0; }
.gis-offline p { margin: 0; color: var(--text); font-weight: 600; font-size: 0.9rem; }

.gis-benefits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 400px;
  margin: 0 auto 16px;
}
.gis-benefits li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.gis-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.gis-more-link {
  display: block;
  text-align: center;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.gis-more-link:hover, .gis-more-link:focus-visible { color: var(--green-hover); text-decoration: underline; }

.gis-trademark {
  text-align: center;
  color: var(--text-secondary);
  opacity: 0.6;
  font-size: 0.7rem;
  margin: 0;
}

@media (min-width: 900px) {
  .gis-diagram { flex-direction: row; justify-content: center; gap: 22px; }
  .gis-sources { gap: 16px; padding: 14px; }
  .logo-box { width: 84px; height: 72px; padding: 10px; border-radius: 12px; }
  .logo-box-app .icon { width: 32px; height: 32px; }
  .gis-node-label { font-size: 0.76rem; }
  .gis-arrow { width: 26px; height: 26px; transform: none; }
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.card > svg.icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  box-sizing: border-box;
  background: var(--green-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.card-highlight > svg.icon { background: rgba(57, 255, 61, 0.22); }

.feature-image-wrapper { margin-top: auto; padding-top: 18px; }
.feature-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #000;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.feature-image[src*="geopdf-gps"] { object-position: center 38%; }

@media (hover: hover) {
  .feature-image { transition: transform 0.2s ease; }
  .card:hover .feature-image { transform: scale(1.015); }
}
.card h3 { font-size: 1.05rem; margin: 14px 0 10px; }
.card ul li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.card-highlight {
  border-color: var(--border);
  background: linear-gradient(180deg, var(--green-soft), var(--bg-secondary) 60%);
  box-shadow: var(--shadow-glow);
}

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

/* ---------- Benefits ---------- */
.benefits { background: var(--bg-secondary); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.benefit > svg.icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  box-sizing: border-box;
  background: var(--green-soft);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.benefit h3 { font-size: 0.98rem; font-weight: 700; }

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Demo Tools (vídeos curtos) ---------- */
.demo-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px 28px;
  margin-top: 32px;
}
.demo-tool { text-align: center; }
.demo-tool h3 { font-size: 1.02rem; margin-bottom: 6px; }
.demo-tool-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  max-width: 380px;
  margin: 0 auto 14px;
}

.demo-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 720 / 1560;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.tool-demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  cursor: pointer;
}

.demo-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(3, 8, 7, 0.55);
  border: 1px solid var(--border);
  color: var(--green);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.2s ease, background 0.15s ease;
}
.demo-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: currentColor;
}
.demo-play-btn:hover, .demo-play-btn:focus-visible { background: rgba(3, 8, 7, 0.8); }
.demo-tool.is-playing .demo-play-btn { opacity: 0; pointer-events: none; }

@media (min-width: 560px) {
  .demo-video-wrapper { max-width: 430px; }
}
@media (min-width: 700px) {
  .demo-tools-grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-play-btn { transition: none; }
}

/* ---------- CTA mid ---------- */
.cta-mid-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-mid-inner h2 { max-width: 480px; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, var(--green-soft), var(--bg-secondary) 55%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-glow);
}
.price-product { font-weight: 800; letter-spacing: 0.05em; font-size: 0.9rem; color: var(--text-secondary); }
.price-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(57,255,61,0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.price-value { font-size: clamp(2.4rem, 8vw, 3rem); font-weight: 800; margin: 18px 0 4px; }
.price-note { color: var(--text-secondary); font-size: 0.92rem; }
.price-note-strong { font-weight: 700; margin: 6px 0 22px; }
.price-security { margin-top: 14px; font-size: 0.82rem; color: var(--text-secondary); }

/* ---------- Guarantee ---------- */
.guarantee {
  max-width: 620px;
  margin: 36px auto 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
}
.icon-shield {
  width: 40px;
  height: 40px;
  padding: 8px;
  box-sizing: border-box;
  background: var(--green-soft);
  border: 1px solid var(--border);
  border-radius: 11px;
  flex-shrink: 0;
}
.guarantee h3 { font-size: 1.05rem; margin-bottom: 6px; }
.guarantee p { color: var(--text-secondary); font-size: 0.92rem; }

/* ---------- Testimonials / Carousel ---------- */
.testimonials { background: var(--bg-secondary); overflow: hidden; }

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-track.no-transition { transition: none; }
.carousel-track.dragging { transition: none; }

.testimonial-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  list-style: none;
  padding: 28px 22px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .testimonial-card:hover { border-color: var(--border); transform: translateY(-2px); }
}
@media (min-width: 640px) {
  .testimonial-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 1024px) {
  .testimonial-card { flex-basis: calc((100% - 40px) / 3); }
}

.testimonial-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px;
  border: 2px solid var(--border);
  background: var(--bg-secondary);
}
.testimonial-name { font-weight: 700; font-size: 0.98rem; }
.testimonial-role { color: var(--text-secondary); font-size: 0.82rem; margin: 2px 0 16px; }
.testimonial-quote { margin: 0; }
.testimonial-quote p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
.testimonial-quote p::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--green);
  opacity: 0.35;
  margin-bottom: 2px;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-arrow:hover, .carousel-arrow:focus-visible { border-color: var(--green); color: var(--green); }
.carousel-arrow:active { transform: scale(0.94); }

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
}
.carousel-dot {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carousel-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-soft);
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot:hover::after, .carousel-dot:focus-visible::after { background: var(--text-secondary); }
.carousel-dot.active::after { background: var(--green); transform: scale(1.35); }

@media (max-width: 639.98px) {
  .testimonial-carousel { flex-wrap: wrap; justify-content: center; gap: 16px 10px; }
  .carousel-viewport { order: 1; flex-basis: 100%; width: 100%; }
  .carousel-arrow-prev { order: 2; }
  .carousel-arrow-next { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track, .testimonial-card { transition: none; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
  background: var(--bg-secondary);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-secondary); padding-bottom: 16px; font-size: 0.92rem; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--bg-secondary); }
.cta-final-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-final-inner p { color: var(--text-secondary); }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0 100px; border-top: 1px solid var(--border-soft); }
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.footer-brand { font-weight: 800; }
.footer-product, .footer-copy { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 14px; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--green); }

@media (min-width: 900px) {
  .site-footer { padding-bottom: 40px; }
}

/* ---------- Mobile buy bar ---------- */
.mobile-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 17, 13, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.mobile-buy-bar.visible { transform: translateY(0); }
.mobile-buy-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mobile-buy-name { font-size: 0.78rem; color: var(--text-secondary); }
.mobile-buy-price { font-weight: 800; font-size: 1rem; }
.mobile-buy-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .mobile-buy-bar { display: none; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .site-header, .nav-mobile, .mobile-buy-bar, .menu-toggle span, .faq-item summary::after {
    transition: none;
  }
}
