/* ============================================================
   CHATGPT BRASIL — DESIGN SYSTEM
   Professional, mobile-first stylesheet
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --primary:        #667eea;
  --primary-dark:   #764ba2;
  --accent:         #ffd700;
  --success:        #1abc9c;

  /* Glass effect */
  --glass-bg:       rgba(255, 255, 255, 0.15);
  --glass-border:   rgba(255, 255, 255, 0.2);

  /* Shadows */
  --shadow-soft:    0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-medium:  0 8px 30px rgba(0, 0, 0, 0.10);
  --shadow-heavy:   0 20px 60px rgba(0, 0, 0, 0.15);

  /* Spacing — fluid, clamped */
  --space-xs:       clamp(0.5rem,  2vw,  0.75rem);
  --space-sm:       clamp(0.75rem, 3vw,  1rem);
  --space-md:       clamp(1rem,    4vw,  1.5rem);
  --space-lg:       clamp(1.5rem,  5vw,  2.5rem);
  --space-xl:       clamp(2rem,    6vw,  4rem);
  --space-2xl:      clamp(3rem,    8vw,  6rem);

  /* Container */
  --container-max:  1400px;
  --container-px:   clamp(1rem, 5vw, 2rem);

  /* Border-radius */
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-pill:    50px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', 'Poppins', sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background: #ffffff;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* ============================================================
   3. SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #1a202c;
  color: #ffffff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ============================================================
   4. LAYOUT — CONTAINER & FULL-WIDTH SECTIONS
   ============================================================ */

/* Inner wrapper for full-width section backgrounds */
.content-wrapper {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* Override the width:100vw / margin-left trick to prevent horizontal overflow */
section[style*="margin-left: calc(-50vw + 50%)"],
div[style*="margin-left: calc(-50vw + 50%)"],
footer[style*="margin-left: calc(-50vw + 50%)"] {
  width: 100% !important;
  margin-left: 0 !important;
  max-width: 100vw;
}

/* Ensure all section inner content stays within viewport */
section > div[style*="max-width"],
section > div.content-wrapper {
  padding-inline: var(--container-px);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl);
}

/* Navigation bar inside hero */
.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Two-column hero grid */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-text {
  /* default: text-left on desktop */
}

/* Hero typography */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle,
.h1-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 500;
}

.hero-description,
.subheadline {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

/* CTA wrapper */
.cta-section {
  margin-top: var(--space-lg);
}

/* CTA button */
.hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #1a202c;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta-button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

/* Trust indicators row */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Avatars */
.user-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  margin-right: -8px;
  position: relative;
}

.user-counter {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #ffffff;
}

/* Social proof section */
.social-proof {
  margin-bottom: var(--space-md);
}

.avatars-container {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.user-avatars-group {
  display: flex;
  margin-right: var(--space-sm);
}

.credibility-text {
  display: flex;
  align-items: center;
  opacity: 0.9;
}

/* ============================================================
   6. HERO VISUAL — AI CAROUSEL
   ============================================================ */
.hero-visual {
  position: relative;
}

.ai-carousel-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.carousel-nav-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #4a5568;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.model-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.model-header {
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.chat-sim {
  background: #f7fafc;
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
}

.chat-message {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: #2d3748;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
}

/* Floating decorations */
.floating-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.floating-decoration--top-right {
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.2), transparent);
}

.floating-decoration--bottom-left {
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.2), transparent);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  pointer-events: none;
}

/* Decorative overlays */
.decorative-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ============================================================
   7. GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* ============================================================
   8. ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: if no JS loaded, show all fade-in elements */
.no-js .fade-in,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* GPT-4.1 name highlight */
.gpt54-highlight {
  display: inline;
}

@keyframes float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-14px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0);   }
  40%                      { transform: translateY(-10px);}
  60%                      { transform: translateY(-5px); }
}

/* ============================================================
   9. PRICING CARDS
   ============================================================ */
.pricing-cards-container {
  width: 100%;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  align-items: start;
}

.pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.plan-cta-button {
  display: block;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem 1.5rem;
}

.plan-cta-button:hover {
  transform: translateY(-2px) scale(1.04);
}

/* Token explainer comparison */
.plans-comparison-elegant {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.plan-card-elegant {
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.plan-card-elegant:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

/* ============================================================
   10. PERFORMANCE STATS GRID
   ============================================================ */
.performance-stats-container {
  width: 100%;
}

.stats-card {
  border-radius: var(--radius-md);
  transition: transform 0.35s ease;
}
.stats-card:hover { transform: translateY(-8px); }

.performance-card,
.benchmark-card,
.expertise-card,
.juridico-card,
.usecase-card,
.ai-card {
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.performance-card:hover,
.benchmark-card:hover,
.expertise-card:hover,
.juridico-card:hover,
.usecase-card:hover,
.ai-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-heavy);
}

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonial-carousel-container {
  position: relative;
  padding: 0 60px; /* room for nav buttons on desktop */
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
}

/* Mobile: hide cards, show one at a time via JS */
@media (max-width: 768px) {
  .testimonial-carousel-container {
    padding: 0 10px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr !important;
  }
  .testimonial-grid .testimonial-card {
    display: none;
  }
  .testimonial-grid .testimonial-card.active-slide {
    display: block;
  }
  /* Mobile arrows below the card */
  .carousel-btn {
    position: static !important;
    transform: none !important;
  }
  .testimonial-carousel-container .carousel-btn.prev,
  .testimonial-carousel-container .carousel-btn.next {
    position: static !important;
    transform: none !important;
  }
}

.testimonial-card {
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-heavy);
}

.quote {
  font-style: italic;
  line-height: 1.75;
}

/* Carousel buttons */
.carousel-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ============================================================
   12. FAQ SECTION
   ============================================================ */
.faq-section {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  padding: var(--space-2xl) var(--container-px);
  max-width: 100%;
}

.faq-section h2 {
  color: #1a202c;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  text-align: center;
  line-height: 1.25;
  padding-inline: var(--space-sm);
}

.faq-container {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.1rem var(--space-md);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(0.87rem, 2vw, 0.96rem);
  color: #2d3748;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s ease;
  line-height: 1.55;
}

.faq-question:hover,
.faq-question:focus {
  background: #f7fafc;
  outline: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-md) var(--space-md);
  color: #4a5568;
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Inline buttons inside FAQ */
.button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: opacity 0.2s ease;
}

.button:hover { opacity: 0.85; }

.button-popular {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* ============================================================
   13. FOOTER
   ============================================================ */
footer {
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl) var(--container-px);
}

.footer-content-wrapper {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: 72px;
  height: auto;
  border-radius: var(--radius-sm);
  margin-inline: auto;
}

.footer-contact-info {
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact-info a:hover { color: var(--success); }

footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 780px;
  margin: 1.2rem auto 0;
}

/* ============================================================
   14. FLOATING BUTTONS
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.55);
}

.scroll-to-plans-button {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.scroll-to-plans-button.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-to-plans-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.55);
}

.whatsapp-float-button {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  background: #25d366;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.whatsapp-float-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ============================================================
   15. BADGES & MISC COMPONENTS
   ============================================================ */
.urgency-badge {
  display: inline-block;
}

.price-highlight {
  display: inline-flex;
  align-items: center;
}

.gpt54-badge {
  display: inline-flex;
  align-items: center;
}

.super-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  text-align: center;
}

.super-cta-button:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 20px 50px rgba(230, 126, 34, 0.6) !important;
  border-color: rgba(255, 215, 0, 0.8) !important;
}

.super-cta-button:active {
  transform: translateY(-2px) scale(1.02);
}

/* ============================================================
   16. RESPONSIVE — TABLET (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Hero two-column → single column */
  .hero-content {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  .hero-visual {
    order: -1;
    max-width: 500px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-text {
    text-align: center;
  }

  .logo-container {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
  }

  .trust-indicators {
    justify-content: center;
  }

  .credibility-text {
    justify-content: center;
  }

  .avatars-container {
    justify-content: center;
  }

  .cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-button {
    max-width: 380px;
    width: 100%;
  }

  .hero-section {
    min-height: auto;
    padding-block: var(--space-xl);
  }

  /* Benchmark grid: force single column when card is too wide */
  [style*="minmax(500px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   17. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --container-px: 1rem;
  }

  /* ── Prevent ALL full-width overflow tricks ── */
  body { overflow-x: hidden; }

  /* ── Pricing Cards ── */
  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .pricing-card {
    transform: none !important;
    margin: 0 !important;
    padding: 1.4rem 1.1rem !important;
  }

  .premium-plus-plan,
  .premium-plan {
    transform: none !important;
  }

  /* ── Token comparison elegant cards ── */
  .plans-comparison-elegant {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .premium-plus-card {
    transform: scale(1) !important;
    margin-top: 0 !important;
  }

  .plan-card-elegant {
    padding: 2rem 1.5rem !important;
  }

  /* ── Performance & benchmark grids ── */
  [style*="minmax(350px"],
  [style*="minmax(320px"],
  [style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Testimonials ── */
  .testimonial-card {
    padding: 1.4rem !important;
  }

  .carousel-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  /* ── FAQ ── */
  .faq-section {
    padding-inline: var(--container-px);
  }

  .faq-question {
    padding: 1rem var(--container-px);
  }

  .faq-answer {
    padding: 0 var(--container-px) 1.1rem;
  }

  /* ── Final CTA 3-column → stack ── */
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    max-width: 400px !important;
    margin-inline: auto !important;
  }

  /* ── Urgency timer ── */
  .urgency-timer {
    padding: 1.2rem var(--container-px) !important;
  }

  /* Keep urgency timer flex row on small but allow wrap */
  .urgency-timer > div > div {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* ── Glass cards padding ── */
  .glass-card {
    border-radius: var(--radius-md);
  }

  /* ── Floating buttons ── */
  .back-to-top {
    bottom: 5rem;
    right: 0.85rem;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .scroll-to-plans-button {
    bottom: 0.85rem;
    right: 0.85rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.82rem;
  }

  .whatsapp-float-button {
    bottom: 0.85rem;
    left: 0.85rem;
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
  }

  /* ── Inner padded containers ── */
  [style*="padding: 0 20px"],
  [style*="padding: 0 20px;"] {
    padding-inline: var(--container-px) !important;
  }

  /* ── Stats counter flex ── */
  .counter-display > div {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* ── Social-proof stats grid ── */
  [style*="minmax(200px"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* ── Performance stats cards ── */
  [style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Super CTA button ── */
  .super-cta-button {
    padding: 1.4rem 1.8rem !important;
    font-size: 1.1rem !important;
    width: 100%;
    max-width: 420px;
  }

  /* ── Hero carousel compact ── */
  .ai-carousel-container {
    padding: 1.25rem !important;
  }

  /* ── Misc inline font reductions ── */
  .gpt54-badge span:last-child {
    font-size: 0.7rem !important;
  }

  /* ── Scroll indicator hide to save space ── */
  .scroll-indicator {
    display: none;
  }
}

/* ============================================================
   18. RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --container-px: 0.85rem;
  }

  .hero-section {
    padding-block: 2rem 3.5rem;
  }

  .hero-cta-button {
    font-size: 0.92rem !important;
    padding: 0.95rem 1.5rem !important;
  }

  .logo-container a.glass-card {
    font-size: 0.82rem !important;
    padding: 0.6rem 1rem !important;
  }

  /* Avatars smaller on tiny screens */
  .user-avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    font-size: 0.65rem !important;
    margin-right: -6px !important;
  }

  .user-counter {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    font-size: 0.58rem !important;
  }

  /* Trust indicators wrap nicely */
  .trust-indicators {
    gap: 0.6rem;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  /* Social proof 2-col → 1-col on tiny */
  [style*="minmax(200px"] {
    grid-template-columns: 1fr !important;
  }

  /* faq question smaller */
  .faq-question {
    font-size: 0.85rem;
  }

  /* Pricing card icon circles smaller */
  .pricing-card [style*="width: 60px; height: 60px"] {
    width: 48px !important;
    height: 48px !important;
  }
}
