:root {
  --bg: #050816;
  --bg-soft: #0b1226;
  --card: rgba(15, 23, 42, 0.75);
  --card-solid: #0d152b;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --primary: #fd6f02;
  --primary-strong: #d95e00;
  --accent: #ff9c4a;
  --accent-soft: rgba(253, 111, 2, 0.14);
  --success: #12b76a;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
  --radius: 28px;
  --radius-sm: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(253, 111, 2, 0.18), transparent 25%),
    radial-gradient(circle at top right, rgba(255, 156, 74, 0.12), transparent 24%),
    linear-gradient(180deg, #030712 0%, #07101e 36%, #050816 100%);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.site-shell { overflow: hidden; }
.section { padding: 96px 0; }
.section-alt,
.faq-section {
  background: linear-gradient(180deg, rgba(10, 15, 31, 0.9), rgba(6, 11, 24, 0.96));
}

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2,
.hero-copy h1,
.cta-card h2,
.faq-copy h2 { margin: 12px 0 16px; line-height: 1.04; }
.section-head h2,
.faq-copy h2,
.cta-card h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.section-head p,
.hero-text,
.benefits-copy p,
.faq-copy p,
.footer p,
.solution-card p,
.feature-card p,
.benefit-card p,
.testimonial-card p,
.faq-item p,
.plan-summary,
.plan-highlights li,
.hint { color: var(--muted); line-height: 1.7; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(253, 111, 2, 0.24);
  background: rgba(253, 111, 2, 0.1);
  color: #ffbb84;
  font-size: 0.9rem;
  font-weight: 700;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.08rem;
}

.brand img {
  width: 80px;
  height: 46px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero { padding: 74px 0 92px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 56px;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  letter-spacing: -0.045em;
  max-width: 12ch;
}
.hero-text { max-width: 650px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-mini-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.mini-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff7f0;
  box-shadow: 0 18px 40px rgba(253, 111, 2, 0.28);
}
.btn-primary:hover { box-shadow: 0 22px 50px rgba(253, 111, 2, 0.35); }
.btn-secondary, .btn-outline {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 14px; }
.btn-full { width: 100%; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-card,
.feature-card,
.solution-card,
.benefit-card,
.testimonial-card,
.faq-item,
.gallery-card,
.cta-card,
.hero-visual,
.plan-card,
.seo-footer {
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: var(--shadow);
}

.trust-card { padding: 20px; border-radius: 20px; }
.trust-card strong,
.feature-card h3,
.solution-card h3,
.benefit-card h3,
.footer h3,
.testimonial-card strong,
.faq-item summary,
.plan-card h3 { display: block; }
.trust-card strong,
.feature-card h3,
.solution-card h3,
.benefit-card h3 { margin-bottom: 8px; }
.trust-card span,
.footer ul a,
.testimonial-card span,
.social-links a { color: var(--muted-2); }

.hero-visual {
  position: relative;
  padding: 34px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 20, 38, 0.96), rgba(8, 14, 27, 0.9));
  isolation: isolate;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.06) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: shine 6.5s linear infinite;
}
.hero-visual img { position: relative; z-index: 2; }
.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: .95;
}
.glow-one {
  width: 240px; height: 240px;
  background: rgba(253, 111, 2, 0.25);
  top: -72px; left: -62px;
}
.glow-two {
  width: 250px; height: 250px;
  background: rgba(255, 156, 74, 0.18);
  bottom: -70px; right: -52px;
}
.floating-card {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(7, 12, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.floating-card strong { display: block; font-size: 1rem; }
.floating-label { display: block; color: #ffb47b; font-size: 0.82rem; margin-bottom: 8px; }
.floating-order { top: 72px; left: -30px; }
.floating-revenue { bottom: 38px; right: -22px; }
.float-slow { animation: floatY 5s ease-in-out infinite; }
.float-fast { animation: floatY 4s ease-in-out infinite reverse; }

.feature-grid,
.benefit-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card,
.benefit-card,
.testimonial-card { padding: 28px; border-radius: 24px; }
.feature-card h3,
.solution-card h3,
.benefit-card h3 { font-size: 1.2rem; }
.feature-card,
.benefit-card,
.solution-card,
.plan-card,
.gallery-card,
.testimonial-card,
.faq-item,
.seo-footer {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.feature-card:hover,
.benefit-card:hover,
.solution-card:hover,
.plan-card:hover,
.gallery-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.seo-footer:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 111, 2, 0.24);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.gallery-card { grid-column: span 6; padding: 14px; border-radius: 24px; }
.gallery-card-lg { grid-column: span 12; }
.gallery-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  border-radius: 18px;
}
.gallery-card figcaption {
  padding: 14px 8px 4px;
  color: var(--muted);
  font-weight: 700;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.solution-card {
  display: grid;
  gap: 24px;
  padding: 30px;
  border-radius: 28px;
}
.solution-card ul,
.footer ul,
.plan-highlights { margin: 0; padding-left: 18px; }
.solution-card li,
.footer li,
.plan-highlights li { color: var(--muted); line-height: 1.8; }
.pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.12);
  color: #fdba74;
  font-weight: 800;
  font-size: .86rem;
}
.hint { display: block; margin-top: -10px; line-height: 1.5; }

.benefits-layout,
.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px;
  align-items: start;
}
.faq-list { display: grid; gap: 14px; }
.faq-item { border-radius: 20px; padding: 0 22px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 1.02rem;
  font-weight: 800;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 0 20px; margin: 0; }
.testimonial-card { display: grid; gap: 16px; }
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(253, 111, 2, 0.28), rgba(255, 156, 74, 0.24));
  font-weight: 900;
}

.pricing-section { position: relative; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.plan-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(13, 21, 43, 0.92));
}
.plan-card-featured {
  border-color: rgba(253, 111, 2, 0.34);
  box-shadow: 0 28px 80px rgba(253, 111, 2, 0.18);
}
.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(253, 111, 2, 0.14);
  border: 1px solid rgba(253, 111, 2, 0.32);
  color: #ffbf8d;
  font-size: .82rem;
  font-weight: 800;
}
.plan-top { padding-bottom: 18px; }
.plan-name {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 800;
  margin-bottom: 14px;
}
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.plan-price small { font-size: 1rem; margin-bottom: .48rem; color: var(--muted); }
.plan-price span { font-size: 1rem; color: var(--muted); margin-bottom: .35rem; }
.plan-summary { margin: 0; }
.plan-highlights { min-height: 230px; }
.plan-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}
.plan-limits span,
.seo-keywords span {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.cta-section { padding-top: 0; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 32px;
  background:
    radial-gradient(circle at left center, rgba(253, 111, 2, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(9, 15, 29, 0.98), rgba(8, 13, 24, 0.98));
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { padding: 24px 0 46px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .55fr .55fr;
  gap: 24px;
  padding-top: 14px;
}
.footer-brand { margin-bottom: 14px; }
.footer h3 { margin: 0 0 14px; font-size: 1rem; }
.social-links { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.social-links a:hover, .footer ul a:hover { color: var(--text); }
.seo-footer {
  margin-top: 28px;
  border-radius: 28px;
  padding: 28px;
}
.seo-footer h3 { margin: 0 0 12px; font-size: 1.2rem; }
.seo-keywords { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-bottom {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
}

.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 20px 40px rgba(253, 111, 2, 0.3);
  animation: pulse 2.4s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

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

@keyframes pulse {
  0%,100% { transform: translateY(0) scale(1); box-shadow: 0 20px 40px rgba(253, 111, 2, 0.3); }
  50% { transform: translateY(-2px) scale(1.02); box-shadow: 0 24px 48px rgba(253, 111, 2, 0.38); }
}

@keyframes shine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(140%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .float-slow,
  .float-fast,
  .hero-visual::after,
  .whats-float { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .benefits-layout,
  .faq-layout,
  .footer-grid,
  .cta-card { grid-template-columns: 1fr; }
  .feature-grid,
  .benefit-grid,
  .testimonial-grid,
  .solution-grid,
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { align-items: start; }
}

@media (max-width: 820px) {
  .section { padding: 78px 0; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: rgba(8, 13, 24, 0.98);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-visual { padding: 20px; }
  .floating-order,
  .floating-revenue { position: static; margin-top: 12px; }
  .gallery-card,
  .gallery-card-lg { grid-column: span 12; }
}

@media (max-width: 720px) {
  .feature-grid,
  .benefit-grid,
  .testimonial-grid,
  .solution-grid,
  .trust-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions,
  .cta-actions { flex-direction: column; }
  .btn, .btn-full { width: 100%; }
  .plan-highlights { min-height: auto; }
  .whats-float { right: 14px; bottom: 14px; }
}



/* UX final adjustments */
:root{
  --header-height: 82px;
}
html { scroll-padding-top: 108px; }
body {
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.section,
.hero,
footer,
[id] { scroll-margin-top: 108px; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.header.is-scrolled {
  background: rgba(5, 8, 22, 0.86);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .28);
  border-bottom-color: rgba(255,255,255,.08);
}

.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: transform .25s ease;
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.hero {
  padding: 62px 0 88px;
  background:
    radial-gradient(circle at left 20%, rgba(253, 111, 2, 0.16), transparent 30%),
    radial-gradient(circle at right 50%, rgba(13, 36, 87, 0.55), transparent 28%),
    linear-gradient(90deg, rgba(15, 9, 8, 0.88), rgba(8, 11, 23, 0.92));
}
.hero-copy h1 {
  max-width: 7ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
  letter-spacing: -0.06em;
}
.hero-text {
  max-width: 620px;
  font-size: 1rem;
}
.hero-actions { margin: 32px 0 26px; }
.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.02);
}
.hero .trust-grid { margin-top: 4px; }
.hero-visual {
  min-height: 470px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(253,111,2,0.18), rgba(0,26,76,0.66) 42%, rgba(253,111,2,0.12));
}
.hero-visual img {
  width: 86%;
  margin: 72px auto 32px;
}
.floating-card {
  background: rgba(8, 10, 20, 0.96);
  border: 1px solid rgba(255,255,255,.06);
}
.floating-order { left: -2%; top: 18%; }
.floating-revenue { right: -3%; bottom: 16%; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 700;
}
.social-link:hover {
  border-color: rgba(253,111,2,.35);
  transform: translateY(-1px);
}
.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.whats-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 980px) {
  :root { --header-height: 74px; }
  .hero {
    padding: 42px 0 78px;
  }
  .hero-copy h1 { max-width: 9ch; }
  .hero-visual {
    min-height: auto;
  }
  .hero-visual img {
    width: 100%;
    margin: 56px auto 20px;
  }
  .floating-order { left: 2%; top: 10%; }
  .floating-revenue { right: 2%; bottom: 10%; }
}

@media (max-width: 720px) {
  .nav-wrap { min-height: var(--header-height); }
  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.6rem, 10vw, 4rem);
  }
  .social-links { flex-direction: column; align-items: flex-start; }
}


/* Ajustes finais - seções e comparativo de planos */
.section-head-wide {
  max-width: 980px;
}
.section-head-wide h2 {
  max-width: 35ch;
  font-size: clamp(2.3rem, 4vw, 4rem);
}
.section-head-wide p {
  max-width: 760px;
}
.section-head-centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head-centered p {
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(280px, 360px));
  justify-content: center;
  align-items: stretch;
}
.pricing-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.comparison-toggle {
  min-width: 280px;
}
.comparison-wrap {
  margin-top: 24px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.comparison-card {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(13, 21, 43, 0.92));
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 24px;
}
.comparison-card-featured {
  border-color: rgba(253, 111, 2, 0.34);
  box-shadow: 0 28px 80px rgba(253, 111, 2, 0.18);
}
.comparison-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.comparison-price {
  color: var(--text);
  font-weight: 900;
  font-size: 1.25rem;
}
.comparison-group + .comparison-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.comparison-group h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.comparison-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.comparison-group li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.comparison-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 3px rgba(253, 111, 2, 0.12);
}
.comparison-card .btn {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .pricing-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .section-head-wide h2 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .comparison-toggle {
    min-width: 0;
    width: 100%;
  }
}


/* Mobile fixes - sticky header + pricing responsiveness */
html,
body {
  overflow-x: hidden;
}

.site-shell {
  overflow-x: clip;
  overflow-y: visible;
}

.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  -webkit-backdrop-filter: blur(18px);
}

body {
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

html {
  scroll-padding-top: calc(var(--header-height) + 26px);
}

.section,
.hero,
footer,
[id] {
  scroll-margin-top: calc(var(--header-height) + 26px);
}

.nav-wrap {
  min-height: var(--header-height);
}

.pricing-grid,
.comparison-grid {
  justify-content: center;
}

.plan-card,
.comparison-card {
  min-width: 0;
  width: 100%;
}

@supports (-webkit-touch-callout: none) {
  .header {
    top: 0;
    position: fixed !important;
  }
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 560px) !important;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .comparison-grid {
    grid-template-columns: minmax(0, 560px) !important;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 820px) {
  .header {
    background: rgba(5, 8, 22, 0.88);
  }

  .nav {
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 8px);
    left: 16px;
    right: 16px;
    max-height: calc(100vh - var(--header-height) - env(safe-area-inset-top, 0px) - 24px);
    overflow-y: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .pricing-grid,
  .comparison-grid {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }

  .plan-card,
  .comparison-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .plan-price {
    font-size: clamp(1.95rem, 11vw, 2.7rem);
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .plan-limits {
    gap: 8px;
  }

  .plan-limits span {
    width: 100%;
    justify-content: flex-start;
  }

  .comparison-card-top {
    gap: 8px;
  }

  .comparison-toggle {
    width: 100%;
  }
}
