/* ============================================================
   InPlus — Dark "Soft"-style frontend redesign
   Standalone stylesheet, loaded AFTER the compiled frontend CSS.
   Everything is scoped to the public site via `body.frontend-body`
   so the dashboard/admin are never affected. Content stays dynamic;
   this file only changes appearance.
   Batch 1: global dark base + navbar + hero.
   ============================================================ */

:root {
  --ip-bg: #050211;
  --ip-bg-2: #010313;
  --ip-surface: #15101f;     /* card surface (subtle purple-tinted dark) */
  --ip-surface-2: #1f242e;
  --ip-border: rgba(255, 255, 255, .08);
  --ip-primary: #8650ff;
  --ip-primary-hover: #632ae2;
  --ip-accent: #ff5e2e;
  --ip-title: #fffefe;
  --ip-text: #acafb2;
  --ip-meta: #d6c7e7;
}

/* ---------------- Base ---------------- */
body.frontend-body {
  background-color: var(--ip-bg) !important;
  background-image:
    linear-gradient(rgba(5, 2, 17, .55), rgba(5, 2, 17, .55)),
    url('https://in.srv.br/lab/arquivos/decor-container-03-jpg-56624c7c.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  color: var(--ip-text) !important;
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif !important;
}

body.frontend-body h1, body.frontend-body h2, body.frontend-body h3,
body.frontend-body h4, body.frontend-body h5, body.frontend-body h6 {
  color: var(--ip-title) !important;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
  letter-spacing: -.01em;
}

body.frontend-body p { color: var(--ip-text); }
body.frontend-body a { color: var(--ip-meta); }
body.frontend-body a:hover { color: #fff; }
body.frontend-body .text-muted { color: #7c7f88 !important; }

/* page wrappers become transparent so the dark body shows through */
body.frontend-body .page,
body.frontend-body .page-main,
body.frontend-body .main-content,
body.frontend-body .frontend-background,
body.frontend-body .side-app.frontend-background { background: transparent !important; }

body.frontend-body.blue-background,
body.frontend-body .blue-background { background: var(--ip-bg) !important; }

/* ---------------- Navbar ---------------- */
body.frontend-body #navbar-container { background: transparent; }

body.frontend-body .navbar#navbar-responsive {
  background: rgba(5, 2, 17, .72) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ip-border);
  padding: .55rem 2.2rem;
}

body.frontend-body #navbar-responsive .nav-link {
  color: var(--ip-meta) !important;
  font-weight: 500;
  font-size: 15px;
  margin: 0 .55rem;
  transition: color .2s ease;
}
body.frontend-body #navbar-responsive .nav-link:hover,
body.frontend-body #navbar-responsive .nav-link.active { color: #fff !important; }

body.frontend-body .navbar-toggler {
  border-color: var(--ip-border) !important;
}
body.frontend-body .navbar-toggler-icon { filter: invert(1) brightness(2); }

/* dropdown (language) on dark */
body.frontend-body #navbar-responsive .dropdown-menu {
  background: var(--ip-surface-2) !important;
  border: 1px solid var(--ip-border) !important;
}
body.frontend-body #navbar-responsive .dropdown-item { color: var(--ip-meta) !important; }

/* Brand logo: render the (dark) logo white so it shows on the dark navbar.
   Upload a light/white logo in Appearance to restore brand colors, then
   this filter can be removed. */
body.frontend-body #brand-img { filter: brightness(0) invert(1); }

/* Sign In / Sign Up / Painel buttons */
body.frontend-body #login-button { color: #fff !important; font-weight: 600; }

body.frontend-body .action-button.register-button,
body.frontend-body .action-button.dashboard-button {
  background: var(--ip-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: .6rem 1.6rem !important;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(134, 80, 255, .35);
  transition: background .2s ease, transform .2s ease;
}
body.frontend-body .action-button.register-button:hover,
body.frontend-body .action-button.dashboard-button:hover {
  background: var(--ip-primary-hover) !important;
  transform: translateY(-1px);
}

/* Scrolled state: frontend.js adds .minimize-navbar (+ .dark-color on links)
   past 100px. The legacy light theme turns the bar white here, which left light
   text on a light bar (menu "disappeared"). Keep it dark + readable. */
body.frontend-body #navbar-container.minimize-navbar {
  background: transparent !important;
  box-shadow: none !important;
}
body.frontend-body #navbar-container.minimize-navbar .navbar#navbar-responsive {
  background: rgba(5, 2, 17, .92) !important;   /* a touch more solid than the top (.72) */
  border-bottom: 1px solid var(--ip-border) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
body.frontend-body #navbar-container.minimize-navbar .nav-link,
body.frontend-body #navbar-responsive .nav-link.dark-color {
  color: var(--ip-meta) !important;             /* stay light despite .dark-color */
}
body.frontend-body #navbar-container.minimize-navbar .nav-link:hover,
body.frontend-body #navbar-container.minimize-navbar .nav-link.active {
  color: #fff !important;
}
body.frontend-body #navbar-container.minimize-navbar #login-button { color: #fff !important; }

/* ---------------- Hero ---------------- */
body.frontend-body section#main #main-background {
  background-color: var(--ip-bg) !important;
  background-image:
    linear-gradient(180deg, rgba(5, 2, 17, 0) 60%, rgba(5, 2, 17, .85) 88%, var(--ip-bg) 100%),
    url('https://in.srv.br/lab/arquivos/decor-hero-bg-jpg-37239b6a.jpg') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: cover, cover !important;
}

body.frontend-body #main .text-container h6 {
  color: var(--ip-meta) !important;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
}

body.frontend-body #main .text-container h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: .35rem;
}

body.frontend-body #main .ah-words-wrapper b,
body.frontend-body #main .ah-headline b {
  background: linear-gradient(90deg, #8650ff, #c9a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-weight: 800;
}

body.frontend-body #main .text-container p {
  color: var(--ip-text) !important;
  font-size: 1.1rem;
  max-width: 640px;
  margin: 1rem auto 2rem;
}

/* hero CTA pill */
body.frontend-body .btn-primary-frontend {
  background: var(--ip-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(134, 80, 255, .45);
  transition: background .2s ease, transform .2s ease;
}
body.frontend-body .btn-primary-frontend:hover {
  background: var(--ip-primary-hover) !important;
  transform: translateY(-2px);
}

/* "Happy customers" badge */
body.frontend-body .happy-customers {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--ip-border);
  border-radius: 999px;
  padding: .4rem 1rem;
}
body.frontend-body .happy-customers .small-avatar { border: 2px solid var(--ip-bg); }
body.frontend-body .happy-customers span { color: var(--ip-meta) !important; }

/* wave/curve at the bottom of the hero blends into the dark page */
body.frontend-body #curve-container { background: transparent !important; }
body.frontend-body #curve-container .curve path { fill: var(--ip-bg) !important; }

/* ---------------- Interim dark pass for the sections below ----------------
   (refined per-section in later batches; this keeps the whole page cohesive) */
body.frontend-body .card {
  background: var(--ip-surface) !important;
  border: 1px solid var(--ip-border) !important;
  color: var(--ip-text) !important;
}
body.frontend-body .title h3 {
  color: var(--ip-title) !important;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
}
body.frontend-body .title p {
  color: var(--ip-primary) !important;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-size: 13px;
}

/* ================= Batch 2: how-it-works · tools · features ================= */

/* small CTA used in the features intro */
body.frontend-body .btn-primary-frontend-small {
  background: var(--ip-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(134, 80, 255, .35);
  transition: background .2s ease, transform .2s ease;
}
body.frontend-body .btn-primary-frontend-small:hover {
  background: var(--ip-primary-hover) !important;
  transform: translateY(-2px);
}

/* ---- How it works (#steps-wrapper) ---- */
body.frontend-body #steps-wrapper .steps-box-wrapper { height: 100%; margin-bottom: 1.5rem; }
body.frontend-body #steps-wrapper .steps-box {
  position: relative;
  height: 100%;
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  overflow: hidden;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.frontend-body #steps-wrapper .steps-box:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 80, 255, .5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
body.frontend-body #steps-wrapper .step-number-big p {
  position: absolute;
  top: -12px;
  right: 8px;
  margin: 0;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(134, 80, 255, .12) !important;
  pointer-events: none;
}
body.frontend-body #steps-wrapper .step-number h6 {
  color: var(--ip-primary) !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 13px;
}
body.frontend-body #steps-wrapper .step-title h2 {
  color: var(--ip-title) !important;
  font-size: 1.5rem;
  margin: .4rem 0 .8rem;
}
body.frontend-body #steps-wrapper .step-description p { color: var(--ip-text) !important; margin: 0; }

/* ---- Tools (#features) ---- */
body.frontend-body #features .features-nav-menu { display: flex; justify-content: center; }
body.frontend-body #features .nav-tabs {
  border: none !important;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
}
body.frontend-body #features .nav-tabs .nav-item .nav-link {
  margin: 0;
  border: 1px solid var(--ip-border) !important;
  border-radius: 999px !important;
  background: var(--ip-surface) !important;
  color: var(--ip-meta) !important;
  font-weight: 600;
  padding: .55rem 1.4rem;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
body.frontend-body #features .nav-tabs .nav-item .nav-link:hover {
  color: #fff !important;
  border-color: rgba(134, 80, 255, .5) !important;
}
body.frontend-body #features .nav-tabs .nav-item .nav-link.active {
  background: var(--ip-primary) !important;
  color: #fff !important;
  border-color: var(--ip-primary) !important;
  box-shadow: 0 8px 22px rgba(134, 80, 255, .4);
}
body.frontend-body #features .features-panel {
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  border-radius: 24px;
  padding: 2.5rem;
}
body.frontend-body #features .feature-title h6 {
  color: var(--ip-primary) !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}
body.frontend-body #features .feature-title h4 { color: var(--ip-title) !important; }
body.frontend-body #features .feature-description p { color: var(--ip-text) !important; }
body.frontend-body #features .feature-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--ip-border);
}
body.frontend-body #features .feature-footer p { color: #7c7f88 !important; }

/* ---- Features / benefits (#benefits-wrapper) ---- */
body.frontend-body #benefits-wrapper .title h6 { color: var(--ip-text) !important; }
body.frontend-body #benefits-wrapper .benefits-box-wrapper { height: 100%; }
body.frontend-body #benefits-wrapper .benefit-box {
  height: 100%;
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.frontend-body #benefits-wrapper .benefit-box:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 80, 255, .5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
body.frontend-body #benefits-wrapper .benefit-image img { max-height: 64px; width: auto; margin-bottom: 1rem; }
body.frontend-body #benefits-wrapper .benefit-title h6 {
  color: var(--ip-title) !important;
  font-size: 1.15rem;
  font-weight: 700;
}
body.frontend-body #benefits-wrapper .benefit-description p { color: var(--ip-text) !important; }

/* ================= Batch 3: pricing (#prices) ================= */

/* description under the section heading */
body.frontend-body #prices .title h6 { color: var(--ip-text) !important; }

/* billing-cycle tabs (Monthly / Yearly / Prepaid / Lifetime) */
body.frontend-body #prices .tabs-menu ul.nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  margin-bottom: 2.5rem;
  padding: .4rem;
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  border-radius: 999px;
}
body.frontend-body #prices .tabs-menu ul.nav li { list-style: none; }
body.frontend-body #prices .tabs-menu ul.nav li a {
  display: block;
  padding: .55rem 1.4rem;
  border-radius: 999px;
  color: var(--ip-meta) !important;
  font-weight: 600;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
body.frontend-body #prices .tabs-menu ul.nav li a:hover { color: #fff !important; }
body.frontend-body #prices .tabs-menu ul.nav li a.active {
  background: var(--ip-primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(134, 80, 255, .4);
}

/* plan cards */
body.frontend-body #prices .card.price-card,
body.frontend-body #prices .card.prepaid-cards {
  position: relative;
  background: var(--ip-surface) !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 22px !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.frontend-body #prices .card.price-card:hover,
body.frontend-body #prices .card.prepaid-cards:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 80, 255, .45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

/* featured / "Most Popular" plan */
body.frontend-body #prices .price-card-border {
  position: relative;
  z-index: 2;
  border-color: var(--ip-primary) !important;
  box-shadow: 0 0 0 1px var(--ip-primary), 0 24px 70px rgba(134, 80, 255, .28) !important;
}
body.frontend-body #prices .plan-featured,
body.frontend-body #prices .plan-featured-prepaid {
  background: var(--ip-primary) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: .3rem 1rem;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(134, 80, 255, .45);
}

/* plan content */
body.frontend-body #prices .plan-title { color: var(--ip-title) !important; font-weight: 700; font-size: 1.25rem; }
body.frontend-body #prices .plan-cost { color: var(--ip-title) !important; font-weight: 800; font-size: 2.4rem; }
body.frontend-body #prices .prepaid-currency-sign,
body.frontend-body #prices .plan-cost .text-muted { color: #7c7f88 !important; }

/* feature list */
body.frontend-body #prices ul li,
body.frontend-body #prices .plan-feature-text { color: var(--ip-text) !important; }
body.frontend-body #prices li .font-weight-bold,
body.frontend-body #prices .text-primary { color: #fff !important; }
body.frontend-body #prices .fa-check.text-success { color: var(--ip-primary) !important; }
body.frontend-body #prices .credits-box {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

/* CTA: outline by default, solid on the featured plan */
body.frontend-body #prices .btn-primary-pricing {
  display: inline-block;
  width: 100%;
  padding: .8rem 1.4rem !important;
  border-radius: 999px !important;
  font-weight: 600;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid var(--ip-primary) !important;
  transition: background .2s ease, transform .2s ease;
}
body.frontend-body #prices .btn-primary-pricing:hover {
  background: rgba(134, 80, 255, .15) !important;
  transform: translateY(-2px);
}
body.frontend-body #prices .price-card-border .btn-primary-pricing {
  background: var(--ip-primary) !important;
  border-color: var(--ip-primary) !important;
  box-shadow: 0 10px 26px rgba(134, 80, 255, .4);
}
body.frontend-body #prices .price-card-border .btn-primary-pricing:hover {
  background: var(--ip-primary-hover) !important;
}

/* ============= Batch 4: clients (#banner-wrapper) + reviews (#reviews-wrapper) ============= */

/* ---- Clients / logo strip ---- */
body.frontend-body #banner-wrapper h6 { color: var(--ip-text) !important; font-weight: 600; }
body.frontend-body #banner-wrapper h6 span { color: #fff !important; }   /* override inline navy */
body.frontend-body #banner-wrapper .partner-image img {
  max-height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .2s ease;
}
body.frontend-body #banner-wrapper .partner-image img:hover { opacity: 1; }

/* ---- Reviews / testimonials ---- */
body.frontend-body #reviews-wrapper .reviews-card-wrapper,
body.frontend-body #reviews-wrapper .review-list-wrapper,
body.frontend-body #reviews-wrapper .reviews-list { background: transparent !important; }

body.frontend-body #reviews-wrapper .review-card-scroll {
  background: var(--ip-surface) !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 18px !important;
  padding: 1.6rem !important;
  transition: border-color .25s ease;
}
body.frontend-body #reviews-wrapper .review-card-scroll:hover {
  border-color: rgba(134, 80, 255, .45) !important;
}
body.frontend-body #reviews-wrapper .reviewer-portrait {
  border-radius: 50%;
  border: 2px solid var(--ip-border);
}
body.frontend-body #reviews-wrapper .reviewer-name { color: var(--ip-title) !important; font-weight: 700; }
body.frontend-body #reviews-wrapper .reviewer-title { color: #7c7f88 !important; font-size: 12px; }
body.frontend-body #reviews-wrapper .reviewer-star span { color: var(--ip-meta) !important; }
body.frontend-body #reviews-wrapper .review-text { color: var(--ip-text) !important; }
body.frontend-body #reviews-wrapper .review-text .fa-quote-left,
body.frontend-body #reviews-wrapper .review-text .fa-quote-right { color: rgba(134, 80, 255, .5); }

/* ================= Batch 5: FAQ (#faqs) + blogs (#blogs) + footer ================= */

/* ---- FAQ accordion ---- */
body.frontend-body #faqs .title h6 { color: var(--ip-text) !important; }
body.frontend-body #faqs #accordion .card {
  background: var(--ip-surface) !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}
body.frontend-body #faqs .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
}
body.frontend-body #faqs .card-header h5 { flex: 1; margin: 0; }
body.frontend-body #faqs .faq-button {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 0 !important;
  text-align: left;
  white-space: normal;
  text-decoration: none !important;
  color: var(--ip-title) !important;
  font-weight: 600;
  font-size: 15px;
}
body.frontend-body #faqs .faq-button:hover,
body.frontend-body #faqs .faq-button:focus {
  text-decoration: none !important;
  box-shadow: none !important;
  color: #fff !important;
}
body.frontend-body #faqs .faq-button .fa-messages-question { color: var(--ip-primary) !important; }
body.frontend-body #faqs .card-header > .fa-plus { flex-shrink: 0; color: var(--ip-primary) !important; }
body.frontend-body #faqs .card-body,
body.frontend-body #faqs .card-body * { color: var(--ip-text) !important; }
body.frontend-body #faqs .card-body { padding: 0 1.3rem 1.2rem !important; }

/* ---- Blogs ---- */
body.frontend-body #blogs .blog-box {
  height: 100%;
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
body.frontend-body #blogs .blog-box:hover { transform: translateY(-6px); border-color: rgba(134, 80, 255, .45); }
body.frontend-body #blogs .blog-img img { display: block; width: 100%; height: auto; }
body.frontend-body #blogs .blog-img span {
  background: var(--ip-primary);
  color: #fff;
  border-radius: 999px;
  padding: .2rem .8rem;
  font-size: 11px;
}
body.frontend-body #blogs .blog-info { padding: 1.2rem 1.3rem; }
body.frontend-body #blogs .blog-date {
  color: #7c7f88 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
body.frontend-body #blogs .blog-title a { color: var(--ip-title) !important; }
body.frontend-body #blogs .blog-title a:hover { color: var(--ip-primary) !important; }
body.frontend-body #blogs .blog-info h6 a { color: var(--ip-primary) !important; font-weight: 600; }
body.frontend-body #blogs .blogs-nav a,
body.frontend-body #blogs .blog-all a { color: var(--ip-meta) !important; }
body.frontend-body #blogs .blogs-nav a:hover,
body.frontend-body #blogs .blog-all a:hover { color: #fff !important; }

/* ---- Footer content (#welcome-footer) ---- */
body.frontend-body #welcome-footer #footer h1 {
  color: var(--ip-title) !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
}
body.frontend-body #welcome-footer #footer h3 { color: var(--ip-text) !important; font-weight: 500; }
body.frontend-body #welcome-footer .notification { color: #7c7f88 !important; }
body.frontend-body #welcome-footer .footer-link {
  color: var(--ip-meta) !important;
  font-weight: 500;
  transition: color .2s ease;
}
body.frontend-body #welcome-footer .footer-link:hover { color: #fff !important; }
body.frontend-body #welcome-footer .footer-icon,
body.frontend-body #welcome-footer .twitter-icon {
  color: var(--ip-meta) !important;
  fill: var(--ip-meta) !important;
  transition: color .2s ease, fill .2s ease;
}
body.frontend-body #welcome-footer #footer-icons a:hover .footer-icon,
body.frontend-body #welcome-footer #footer-icons a:hover .twitter-icon { color: #fff !important; fill: #fff !important; }
body.frontend-body #welcome-footer #frontend-copyright,
body.frontend-body #welcome-footer #frontend-copyright a { color: #7c7f88 !important; }
body.frontend-body #welcome-footer #back-to-top {
  background: var(--ip-primary) !important;
  color: #fff !important;
  border-radius: 50%;
}

/* ================= Batch 6: polish & fixes ================= */

/* These sections had hard-coded light backgrounds (and some decorative
   background images) in the compiled CSS; make every content section
   transparent so the dark page and decorative backdrop show through.
   Only the hero (#main, has the nebula) and the footer are left out. */
body.frontend-body #steps-wrapper,
body.frontend-body #features,
body.frontend-body #info-banner,
body.frontend-body #templates-wrapper,
body.frontend-body #benefits-wrapper,
body.frontend-body #images-wrapper,
body.frontend-body #prices,
body.frontend-body #banner-wrapper,
body.frontend-body #reviews-wrapper,
body.frontend-body #faqs,
body.frontend-body #blogs { background: transparent !important; }

/* Clean section headings: force solid white and drop the theme's blue +
   outline/stroke/shadow treatment that looked broken on the dark background. */
body.frontend-body .title h3,
body.frontend-body .title h3 * {
  color: var(--ip-title) !important;
  -webkit-text-fill-color: var(--ip-title) !important;
  -webkit-text-stroke: 0 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* Templates section: dark pill tabs, group labels, collapse fade, cards */
body.frontend-body #templates-wrapper .templates-nav-menu,
body.frontend-body #templates-wrapper .template-nav-menu-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body.frontend-body #templates-wrapper .nav-tabs {
  border: none !important;
  gap: .4rem;
  flex-wrap: wrap;
  justify-content: center;
}
body.frontend-body #templates-wrapper .nav-tabs .nav-item .nav-link {
  margin: 0;
  border: 1px solid var(--ip-border) !important;
  border-radius: 999px !important;
  background: var(--ip-surface) !important;
  color: var(--ip-meta) !important;
  font-weight: 600;
  padding: .5rem 1.2rem;
}
body.frontend-body #templates-wrapper .nav-tabs .nav-item .nav-link:hover {
  color: #fff !important;
  border-color: rgba(134, 80, 255, .5) !important;
}
body.frontend-body #templates-wrapper .nav-tabs .nav-item .nav-link.active {
  background: var(--ip-primary) !important;
  color: #fff !important;
  border-color: var(--ip-primary) !important;
  box-shadow: 0 8px 22px rgba(134, 80, 255, .4);
}
body.frontend-body #templates-wrapper .templates-panel-group h6 { color: #fff !important; }
body.frontend-body #templates-wrapper .templates-panel-group h4 { color: #7c7f88 !important; }
body.frontend-body #templates-wrapper .show-templates:before {
  background: linear-gradient(rgba(5, 2, 17, 0) 70%, var(--ip-bg) 100%) !important;
}
body.frontend-body #templates-wrapper .show-templates-button a { color: var(--ip-meta) !important; }
body.frontend-body #templates-wrapper .show-templates-button a:hover { color: #fff !important; }
body.frontend-body #templates-wrapper .template .card {
  background: var(--ip-surface) !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 16px !important;
}
body.frontend-body #templates-wrapper .template .card:hover { border-color: rgba(134, 80, 255, .45) !important; }
body.frontend-body #templates-wrapper .template-title h6 { color: var(--ip-title) !important; }

/* ================= Batch 8: card-frame finishing ================= */

/* Features/benefits: the outer wrapper drew a white frame around the dark
   card — drop it so only the dark .benefit-box shows. */
body.frontend-body #benefits-wrapper .benefits-box-wrapper {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Templates: the Show More/Less control sat on a full-width white bar;
   make the bar transparent and turn the control into a dark pill. */
body.frontend-body #templates-wrapper .show-templates-button {
  background: transparent !important;
}
body.frontend-body #templates-wrapper .show-templates-button a {
  background: var(--ip-surface) !important;
  border: 1px solid var(--ip-border) !important;
}
body.frontend-body #templates-wrapper .show-templates-button a:hover {
  background: var(--ip-primary) !important;
  border-color: var(--ip-primary) !important;
  color: #fff !important;
}

/* ================= Batch 9: hero phone login + modal ================= */

/* hero phone form */
body.frontend-body .hero-phone-form { max-width: 560px; margin: 1.2rem auto 0; }
body.frontend-body .hero-phone-group {
  display: flex;
  align-items: stretch;
  gap: .45rem;
  padding: .4rem;
  background: rgba(5, 2, 17, .55);
  border: 1px solid var(--ip-border);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body.frontend-body .hero-phone-group .intl-tel-input {
  position: relative;
  flex: 1;
  display: flex;
  min-width: 0;
}
body.frontend-body .hero-phone-group input#hero-phone {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 1rem;
  padding: .85rem .9rem .85rem 58px !important;
}
body.frontend-body .hero-phone-group input#hero-phone::placeholder { color: #8a8d96; }

/* flag dropdown (plugin) pinned left, dark dropdown */
body.frontend-body .hero-phone-group .flag-dropdown {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
}
body.frontend-body .hero-phone-group .selected-flag {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 .5rem 0 .85rem;
  cursor: pointer;
}
body.frontend-body .hero-phone-group .selected-flag .down-arrow { border-top-color: var(--ip-meta); opacity: .8; }
body.frontend-body .hero-phone-group .country-list {
  background: var(--ip-surface-2) !important;
  color: #fff !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 12px !important;
  max-height: 230px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
body.frontend-body .hero-phone-group .country-list .country { color: #fff; }
body.frontend-body .hero-phone-group .country-list .country.highlight,
body.frontend-body .hero-phone-group .country-list .country:hover { background: rgba(134, 80, 255, .28) !important; }
body.frontend-body .hero-phone-group .country-list .divider { border-bottom-color: var(--ip-border); }

/* submit button */
body.frontend-body .hero-phone-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 12px;
  background: var(--ip-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.7rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
body.frontend-body .hero-phone-btn:hover { background: var(--ip-primary-hover); transform: translateY(-1px); }
body.frontend-body .hero-phone-btn .hero-phone-btn-loader { display: none; }
body.frontend-body .hero-phone-btn.is-loading { opacity: .75; pointer-events: none; }
body.frontend-body .hero-phone-btn.is-loading .hero-phone-btn-label { display: none; }
body.frontend-body .hero-phone-btn.is-loading .hero-phone-btn-loader { display: inline-block; }

/* consent */
body.frontend-body .hero-phone-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .85rem;
  color: var(--ip-text);
}
body.frontend-body .hero-phone-consent input { accent-color: var(--ip-primary); }

@media (max-width: 575px) {
  body.frontend-body .hero-phone-group { flex-direction: column; }
  body.frontend-body .hero-phone-btn { width: 100%; padding: .8rem; }
}

/* ---- phone auth modal (dark) ---- */
.phone-auth-modal .modal-content {
  position: relative;
  background: var(--ip-surface-2, #1f242e);
  color: #d6c7e7;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 2.2rem;
}
.phone-auth-modal .phone-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  filter: invert(1) grayscale(1) brightness(1.6);
  opacity: .7;
}
.phone-auth-modal .phone-modal-title { color: #fff; font-weight: 800; margin-bottom: .4rem; }
.phone-auth-modal .phone-modal-text { color: #acafb2; font-size: .95rem; margin-bottom: 1.2rem; }
.phone-auth-modal .phone-input {
  width: 100%;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #fff;
  padding: .8rem 1rem;
  margin-bottom: .8rem;
  outline: none;
}
.phone-auth-modal .phone-input:focus { border-color: #8650ff; }
.phone-auth-modal .phone-input::placeholder { color: #7c7f88; }
.phone-auth-modal .phone-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #8650ff;
  color: #fff;
  font-weight: 700;
  padding: .85rem 1.4rem;
  margin-top: .4rem;
  cursor: pointer;
  transition: background .2s ease;
}
.phone-auth-modal .phone-submit:hover { background: #632ae2; }
.phone-auth-modal .phone-link { display: inline-block; margin-top: 1rem; color: #d6c7e7; font-size: .85rem; }
.phone-auth-modal .phone-hint { display: block; color: #7c7f88; font-size: .8rem; margin: -.3rem 0 .9rem; }
.phone-auth-modal .phone-masked { color: #d6c7e7; }
.phone-auth-modal .phone-actions { display: flex; gap: .6rem; margin-top: .4rem; }
.phone-auth-modal .phone-actions .phone-submit { margin-top: 0; }
.phone-auth-modal .phone-skip {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  background: transparent;
  color: #acafb2;
  border-radius: 999px;
  padding: .85rem 1.4rem;
  cursor: pointer;
}
.phone-auth-modal .phone-skip:hover { color: #fff; border-color: rgba(134, 80, 255, .5); }

/* ================= Batch 10: static hero texts ================= */

/* eyebrow becomes a pill badge */
body.frontend-body #main .text-container h6.hero-badge {
  display: inline-block;
  margin-bottom: 1.4rem !important;
  padding: .4rem 1.1rem;
  border: 1px solid var(--ip-border);
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* hide the now-unused animated rotating words */
body.frontend-body #main .word-container { display: none !important; }

/* highlighted "IA" — pink→purple gradient */
body.frontend-body #main .text-container h1 .hero-grad {
  background: linear-gradient(95deg, #ff5cd6 0%, #c061ff 55%, #8650ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* outlined "num só app." — transparent fill + light stroke */
body.frontend-body #main .text-container h1 .hero-outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, .5);
  text-stroke: 1.4px rgba(255, 255, 255, .5);
}

/* ================= Batch 11: angled hero tags ribbon ================= */
body.frontend-body #main { position: relative; }

/* clip wrapper, near the bottom of the first screen (visible on load) */
body.frontend-body .hero-tags {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100vh - 210px);
  height: 200px;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

/* tilted glowing ribbon that bleeds past both edges */
body.frontend-body .hero-tags-stripe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  transform: translate(-50%, -50%) rotate(-4deg);
  padding: .85rem 0;
  overflow: hidden;
  background: linear-gradient(90deg, #7b3cff 0%, #b14cff 50%, #7b3cff 100%);
  border-top: 1px solid rgba(255, 255, 255, .35);
  border-bottom: 1px solid rgba(0, 0, 0, .25);
  box-shadow: 0 14px 45px rgba(134, 80, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
  pointer-events: auto;
}

body.frontend-body .hero-tags-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ip-marquee 36s linear infinite;
}
body.frontend-body .hero-tags-stripe:hover .hero-tags-track { animation-play-state: paused; }
@keyframes ip-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.frontend-body .hero-tag {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
body.frontend-body .hero-tag-sep {
  margin: 0 1.5rem;
  font-size: .7rem;
  line-height: 1;
  color: rgba(255, 255, 255, .85);
}

/* social-proof pill — override the theme's yellow (#main .happy-customers) */
body.frontend-body #main .happy-customers {
  background-color: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
  border: 1px solid var(--ip-border);
  border-radius: 999px;
  padding: .35rem .9rem .35rem .4rem;
}
body.frontend-body #main .happy-customers span { color: var(--ip-meta) !important; }
body.frontend-body #main .happy-customers .small-avatar { border: 2px solid #1a1430; }

@media (max-width: 768px) {
  body.frontend-body .hero-tags { top: calc(100vh - 170px); height: 150px; }
  body.frontend-body .hero-tags-stripe { width: 135%; transform: translate(-50%, -50%) rotate(-3deg); }
  body.frontend-body .hero-tag { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.frontend-body .hero-tags-track { animation: none; }
}

/* ================= Batch 12: login / auth page ================= */
body.frontend-body.auth-body .page,
body.frontend-body.auth-body .page-main,
body.frontend-body.auth-body .main-content,
body.frontend-body.auth-body .side-app { background: transparent !important; }

body.frontend-body .auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}
body.frontend-body .auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.4rem 2.2rem;
  text-align: center;
  background: rgba(21, 16, 31, .72);
  border: 1px solid var(--ip-border);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.frontend-body .auth-logo { display: inline-block; margin-bottom: 1.1rem; }
body.frontend-body .auth-logo img { max-height: 42px; width: auto; filter: brightness(0) invert(1); }
body.frontend-body .auth-title { color: #fff !important; font-weight: 800; font-size: 1.5rem; margin-bottom: .2rem; }
body.frontend-body .auth-subtitle { color: var(--ip-text); font-size: .92rem; margin-bottom: 1.5rem; }

/* method tabs */
body.frontend-body .auth-tabs {
  display: flex;
  gap: .35rem;
  padding: .35rem;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--ip-border);
  border-radius: 999px;
}
body.frontend-body .auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ip-meta);
  font-weight: 600;
  font-size: .9rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
body.frontend-body .auth-tab.active {
  background: var(--ip-primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(134, 80, 255, .4);
}

body.frontend-body .auth-pane { text-align: left; }
body.frontend-body .auth-label { display: block; color: var(--ip-meta); font-size: .78rem; font-weight: 600; margin-bottom: .35rem; }

/* inputs */
body.frontend-body .auth-card .form-control {
  height: auto !important;
  padding: .75rem 1rem !important;
  background: rgba(0, 0, 0, .28) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 12px !important;
  color: #fff !important;
  box-shadow: none !important;
}
body.frontend-body .auth-card .form-control::placeholder { color: #7c7f88 !important; }
body.frontend-body .auth-card .form-control:focus { border-color: var(--ip-primary) !important; }

/* native country select */
body.frontend-body .auth-card select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.4rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23acafb2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
body.frontend-body .auth-card select.form-control option { color: #111; }

/* submit */
body.frontend-body .auth-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--ip-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.4rem;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
body.frontend-body .auth-submit:hover { background: var(--ip-primary-hover); transform: translateY(-1px); }
body.frontend-body .auth-submit.is-loading { opacity: .7; pointer-events: none; }

body.frontend-body .auth-link { color: var(--ip-meta) !important; text-decoration: none; }
body.frontend-body .auth-link:hover { color: #fff !important; text-decoration: underline; }
body.frontend-body .auth-card .custom-switch-description { color: var(--ip-text); font-size: .8rem; }

/* consent */
body.frontend-body .auth-consent { display: flex; align-items: center; gap: .5rem; margin: .2rem 0 1.1rem; color: var(--ip-text); }
body.frontend-body .auth-consent input { accent-color: var(--ip-primary); }

/* divider */
body.frontend-body .auth-divider { display: flex; align-items: center; text-align: center; margin: 1.4rem 0 1rem; color: #7c7f88; font-size: .78rem; }
body.frontend-body .auth-divider::before,
body.frontend-body .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--ip-border); }
body.frontend-body .auth-divider span { padding: 0 .8rem; }

/* social logins */
body.frontend-body .auth-card .social-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  width: 100%;
  margin-bottom: .6rem;
  padding: .7rem 1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  color: #fff !important;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
body.frontend-body .auth-card .social-login-button:hover { border-color: rgba(134, 80, 255, .5); background: rgba(255, 255, 255, .08); }

body.frontend-body .auth-foot { margin: 1.4rem 0 0; color: var(--ip-text); font-size: .85rem; }
body.frontend-body .auth-card .alert-login { border-radius: 12px; font-size: .85rem; padding: .7rem 1rem; }

/* phone field (intl-tel-input) inside the card */
body.frontend-body .auth-card .intl-tel-input { position: relative; display: block; width: 100%; }
body.frontend-body .auth-card .js-phone-intl { padding-left: 58px !important; }
body.frontend-body .auth-card .flag-dropdown { position: absolute; top: 0; bottom: 0; left: 0; display: flex; align-items: center; }
body.frontend-body .auth-card .selected-flag { display: flex; align-items: center; height: 100%; padding: 0 .5rem 0 .85rem; cursor: pointer; }
body.frontend-body .auth-card .country-list {
  background: var(--ip-surface-2) !important;
  color: #fff !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 12px !important;
  max-height: 200px;
  overflow-y: auto;
  z-index: 20;
}
body.frontend-body .auth-card .country-list .country.highlight,
body.frontend-body .auth-card .country-list .country:hover { background: rgba(134, 80, 255, .28) !important; }

/* ---------------- Footer ---------------- */
body.frontend-body footer {
  background: var(--ip-bg-2) !important;
  border-top: 1px solid var(--ip-border);
  color: var(--ip-text) !important;
}
body.frontend-body .footer-brand-img { filter: brightness(0) invert(1); }

/* ================= Batch 13: shared conversation page ================= */
/* Public "shared chat" page (/app/chat/share/{uuid}) — the entry point for
   new users arriving from a shared link. We drop the in-app flex/sidebar chat
   layout in favour of a clean brand-dark reading card, fix the washed-out
   light bubbles, and add a sign-up CTA below. Everything is scoped to
   `.chat-share-container` so the in-app chat UI is never affected. */

/* layout: collapse the app chat shell into a simple centered card */
body.frontend-body .chat-share-container.chat-main-container {
  display: block !important;
  position: relative;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 760px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: none !important;
}

/* soft brand glow behind the card */
body.frontend-body .chat-share-container::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -70px;
  left: 50%;
  width: 115%;
  height: 320px;
  transform: translateX(-50%);
  background:
    radial-gradient(60% 70% at 32% 0%, rgba(134, 80, 255, .40), transparent 70%),
    radial-gradient(55% 60% at 82% 8%, rgba(255, 94, 46, .20), transparent 70%);
  filter: blur(38px);
  pointer-events: none;
}

/* the conversation card */
body.frontend-body .chat-share-container .chat-message-container {
  position: relative;
  z-index: 1;
  width: 100% !important;
  height: auto !important;
  background: var(--ip-surface) !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

/* header */
body.frontend-body .chat-share-container .card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--ip-border) !important;
  border-radius: 22px 22px 0 0 !important;
  padding: 1rem 1.4rem .9rem !important;
}
body.frontend-body .chat-share-container .ip-share-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
  padding: .28rem .75rem;
  border: 1px solid var(--ip-border);
  border-radius: 999px;
  background: rgba(134, 80, 255, .14);
  color: var(--ip-meta);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.frontend-body .chat-share-container .ip-share-eyebrow i { color: var(--ip-primary); font-size: .72rem; }
body.frontend-body .chat-share-container .chat-avatar {
  border: 1px solid var(--ip-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  background: var(--ip-surface-2) !important;
}
body.frontend-body .chat-share-container .widget-user-name .font-weight-bold { color: var(--ip-title) !important; }
body.frontend-body .chat-share-container .widget-user-name .text-muted { color: var(--ip-meta) !important; }

/* export dropdown (kept, restyled dark) */
body.frontend-body .chat-share-container #export,
body.frontend-body .chat-share-container #export i { color: var(--ip-meta) !important; }
body.frontend-body .chat-share-container #chat-export-button .dropdown-toggle::after { display: none; }
body.frontend-body .chat-share-container .dropdown-menu {
  background: var(--ip-surface-2) !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
body.frontend-body .chat-share-container .dropdown-item { color: #fff !important; }
body.frontend-body .chat-share-container .dropdown-item:hover { background: rgba(134, 80, 255, .22) !important; }
body.frontend-body .chat-share-container .dropdown-item i { color: var(--ip-meta) !important; }

/* body: let the whole page scroll instead of a fixed inner box */
body.frontend-body .chat-share-container .card-body { background: transparent !important; }
body.frontend-body .chat-share-container #chat-container {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* message rows */
body.frontend-body .chat-share-container .message-img { border-radius: 12px; border: 1px solid var(--ip-border); }
body.frontend-body .chat-share-container .msg-text { color: var(--ip-text) !important; font-size: 14px; }

/* assistant (left) bubble */
body.frontend-body .chat-share-container .left-msg .message-bubble {
  background: rgba(255, 255, 255, .045) !important;
  border: 1px solid var(--ip-border) !important;
}
body.frontend-body .chat-share-container .left-msg .message-bubble:before { border-right-color: rgba(255, 255, 255, .045) !important; }
body.frontend-body .chat-share-container .left-msg .msg-text,
body.frontend-body .chat-share-container .left-msg .msg-text p,
body.frontend-body .chat-share-container .left-msg .msg-text li,
body.frontend-body .chat-share-container .left-msg .msg-text span { color: var(--ip-text) !important; }
body.frontend-body .chat-share-container .left-msg .msg-text strong,
body.frontend-body .chat-share-container .left-msg .msg-text b,
body.frontend-body .chat-share-container .left-msg .msg-text h1,
body.frontend-body .chat-share-container .left-msg .msg-text h2,
body.frontend-body .chat-share-container .left-msg .msg-text h3,
body.frontend-body .chat-share-container .left-msg .msg-text h4 { color: var(--ip-title) !important; }

/* links inside answers */
body.frontend-body .chat-share-container .msg-text a { color: var(--ip-primary) !important; text-decoration: underline; }
body.frontend-body .chat-share-container .msg-text a:hover { color: #fff !important; }

/* user (right) bubble — brand purple */
body.frontend-body .chat-share-container .right-msg .message-bubble { background: var(--ip-primary) !important; color: #fff !important; }
body.frontend-body .chat-share-container .right-msg .message-bubble:before { border-right-color: var(--ip-primary) !important; }
body.frontend-body .chat-share-container .right-msg .msg-text,
body.frontend-body .chat-share-container .right-msg .msg-text * { color: #fff !important; }

/* code blocks & inline code */
body.frontend-body .chat-share-container .msg-text pre {
  background: #0b0a12 !important;
  border: 1px solid var(--ip-border) !important;
  border-radius: 12px !important;
}
body.frontend-body .chat-share-container .msg-text pre code { background: transparent !important; color: #e7e7f2 !important; }
body.frontend-body .chat-share-container .msg-text :not(pre) > code {
  background: rgba(134, 80, 255, .16) !important;
  color: #d9ccff !important;
  border-radius: 6px;
  padding: .1em .4em;
}

/* the hover "copy" chip is a light circle → keep its icon dark so it stays visible */
body.frontend-body .chat-share-container .copy { color: #15101f !important; }

/* composer (only shown when the share is not read-only) */
body.frontend-body .chat-share-container .card-footer {
  background: transparent !important;
  border-top: 1px solid var(--ip-border) !important;
  border-radius: 0 0 22px 22px !important;
}
body.frontend-body .chat-share-container #message {
  background: rgba(0, 0, 0, .28) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 12px !important;
  color: #fff !important;
}
body.frontend-body .chat-share-container #message::placeholder { color: #7c7f88 !important; }
body.frontend-body .chat-share-container .chat-button {
  background: var(--ip-primary) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 999px !important;
}
body.frontend-body .chat-share-container .chat-button:hover { background: var(--ip-primary-hover) !important; }
body.frontend-body .chat-share-container .chat-button-icon { color: var(--ip-meta) !important; }

/* ---- sign-up CTA below the conversation ---- */
body.frontend-body .ip-share-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 1.7rem 1.6rem;
  text-align: center;
  background: rgba(21, 16, 31, .72);
  border: 1px solid var(--ip-border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.frontend-body .ip-share-cta-logo { display: inline-block; margin-bottom: .85rem; }
body.frontend-body .ip-share-cta-logo img { max-height: 34px; width: auto; filter: brightness(0) invert(1); }
body.frontend-body .ip-share-cta-title {
  color: var(--ip-title) !important;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 .3rem;
}
body.frontend-body .ip-share-cta-text { color: var(--ip-text); font-size: .92rem; margin: 0 auto 1.15rem; max-width: 460px; }
body.frontend-body .ip-share-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .82rem 1.8rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--ip-primary), #b06bff);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(134, 80, 255, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.frontend-body .ip-share-cta-btn:hover { color: #fff !important; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(134, 80, 255, .58); }
body.frontend-body .ip-share-cta-domain { display: block; margin-top: .95rem; }
body.frontend-body .ip-share-cta-domain a { color: var(--ip-meta) !important; font-size: .82rem; text-decoration: none; }
body.frontend-body .ip-share-cta-domain a:hover { color: #fff !important; text-decoration: underline; }

/* mobile */
@media (max-width: 768px) {
  body.frontend-body .chat-share-container.chat-main-container,
  body.frontend-body .ip-share-cta { max-width: 100% !important; }
  body.frontend-body .chat-share-container .chat-message-container { border-radius: 18px !important; }
  body.frontend-body .chat-share-container .card-header { border-radius: 18px 18px 0 0 !important; padding: .9rem 1rem .8rem !important; }
  body.frontend-body .chat-share-container #chat-container { padding-left: 1rem !important; padding-right: 1rem !important; }
  body.frontend-body .chat-share-container::before { height: 240px; filter: blur(30px); }
  body.frontend-body .ip-share-cta { border-radius: 18px; padding: 1.4rem 1.1rem; }
}

/* ---- Read-only AI model selector on the shared-conversation header.
   Mirrors the chat model dropdown (view.blade.php) but is non-interactive: it only
   opens to reveal the available AIs; nothing can be selected. Self-contained because
   the chat selector's CSS (dashboard-redesign.css) is not loaded on this page. ---- */
.ip-roselect { position: relative; }
.ip-roselect-top {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .72rem; border-radius: 999px;
  background: rgba(150, 20, 235, .14);
  border: 1px solid rgba(150, 20, 235, .40);
  color: #efeaff; font-size: 12px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.ip-roselect-top:hover,
.ip-roselect-top[aria-expanded="true"] { background: rgba(150, 20, 235, .24); border-color: rgba(150, 20, 235, .60); color: #fff; }
.ip-roselect-top svg,
.ip-roselect-top img { width: 16px; height: 16px; flex: 0 0 auto; border-radius: 4px; }
.ip-roselect-top > span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.ip-roselect-top .fa-chevron-down { font-size: 9px; opacity: .8; }

.ip-roselect-menu {
  padding: 8px; margin-top: 6px; border: 1px solid rgba(150, 20, 235, .28);
  border-radius: 14px; width: min(340px, 86vw);
  background: #140f1f; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); z-index: 3000;
}
.ip-roselect-head {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: #9b91c9; padding: 4px 8px 8px;
}
.ip-roselect-list { max-height: min(58vh, 360px); overflow-y: auto; }
.ip-roselect-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .55rem; border-radius: 10px; cursor: default;
}
.ip-roselect-item + .ip-roselect-item { margin-top: 2px; }
.ip-roselect-item:hover { background: rgba(255, 255, 255, .04); }
.ip-roselect-logo {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; color: #efeaff;
}
.ip-roselect-logo svg,
.ip-roselect-logo img { width: 20px; height: 20px; border-radius: 5px; }
.ip-roselect-info { display: flex; flex-direction: column; min-width: 0; }
.ip-roselect-info b { font-size: 13px; font-weight: 600; color: #f3f0ff; line-height: 1.2; }
.ip-roselect-info small {
  font-size: 11px; color: #948ac0; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ip-roselect-cta {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  margin-top: 8px; padding: .6rem .7rem; border-radius: 10px;
  background: linear-gradient(90deg, #9614eb, #ff1ade);
  color: #fff !important; font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.ip-roselect-cta:hover { filter: brightness(1.06); }
@media (max-width: 480px) {
  .ip-roselect-top > span { max-width: 92px; }
}

/* Public shared page: hide the conversation-toggle / export hamburger from the header. */
body.frontend-body .chat-share-container .card-header .text-right { display: none !important; }

/* ============================================================================
   Plans / upgrade screen (auth/subscribe-two) — 1:1 dark redesign with a
   Pessoal/Empresa toggle. Full-screen fixed overlay so it covers the white
   auth body on both mobile and desktop (single centered phone-width column).
   ========================================================================== */
.ip-plans {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: #0d0d0f;
  color: #f5f5f7;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ip-plans, .ip-plans * { box-sizing: border-box; }
.ip-plans a { text-decoration: none; }

.ip-plans__inner {
  min-height: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 60px 22px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ip-plans__close {
  position: fixed;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bdbdc2;
  font-size: 20px;
  border-radius: 50%;
  z-index: 2;
  transition: background .18s, color .18s;
}
.ip-plans__close:hover { background: rgba(255,255,255,.08); color: #fff; }

.ip-plans__spark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2a2a30, #171719);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 22px;
  color: #fff;
  margin-bottom: 22px;
}

.ip-plans__title {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: .2px;
  margin: 0 0 24px;
  color: #fff;
}

.ip-seg {
  display: inline-flex;
  gap: 2px;
  background: #1b1b1f;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 26px;
}
.ip-seg__btn {
  border: 0;
  background: transparent;
  color: #a9a9b0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ip-seg__btn.is-active { background: #fff; color: #111; }

.ip-panel { width: 100%; }
.ip-panel[hidden], .ip-panel--hidden { display: none !important; }

.ip-card {
  background: #161618;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  padding: 22px 22px 10px;
  margin-bottom: 18px;
  text-align: left;
}
.ip-features { list-style: none; margin: 0; padding: 0; }
.ip-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #e6e6ea;
}
.ip-features li i { color: #fff; font-size: 13px; margin-top: 3px; flex: 0 0 auto; opacity: .9; }

.ip-prices { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ip-price {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.ip-price.is-active { border-color: #fff; background: rgba(255,255,255,.04); }
.ip-price input { position: absolute; opacity: 0; pointer-events: none; }
.ip-price__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  flex: 0 0 auto;
  position: relative;
  transition: border-color .18s;
}
.ip-price.is-active .ip-price__radio { border-color: #fff; }
.ip-price.is-active .ip-price__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}
.ip-price__name { font-size: 15px; font-weight: 600; color: #fff; }
.ip-price__val { margin-left: auto; font-size: 15px; font-weight: 700; color: #fff; }
.ip-badge {
  font-size: 11px;
  font-weight: 700;
  color: #0d0d0f;
  background: #d8ff4f;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: .2px;
  white-space: nowrap;
}

.ip-plans__sub {
  font-size: 13px;
  color: #8b8b92;
  margin: 20px 0 16px;
  line-height: 1.5;
  max-width: 340px;
}

.ip-plans__cta {
  display: block;
  width: 100%;
  background: #fff;
  color: #111 !important;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  transition: background .18s;
}
.ip-plans__cta:hover { background: #ececec; }

.ip-plans__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.ip-plans__foot a { color: #7d7d84; font-size: 12px; }
.ip-plans__foot a:hover { color: #cfcfd4; }
.ip-plans__foot span { color: #3a3a40; font-size: 12px; }

@media (max-width: 480px) {
  .ip-plans__inner { padding: 56px 18px 26px; }
  .ip-plans__title { font-size: 34px; }
  .ip-seg__btn { padding: 9px 22px; }
}
