/* =====================================================
   RESET / GLOBAL
===================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif !important;
  overflow-x: hidden;
}

.text-white { color: #FFFFFF; }
.text-dark { color: #1a2634; }
.text-org  { color: #f47d23; }
.text-gr   { color: #FFFFFF; }
.orange    { color: #f47d23; }
.text-azul { color: #155DFC; }

/* =====================================================
   TOP BAR
===================================================== */
.top-bar {
  background-color: #1f2533;
  color: #fff;
  font-size: 15px;
  padding: 8px 0;
}

@media (max-width: 576px) {
  .top-bar {
    font-size: 12px;
    padding: 6px 0;
  }
}

.top-bar .row {
  min-height: 36px;
}

.top-bar i {
  margin-right: 6px;
}

.login {
  font-size: 14px;
  text-align: right;
}

.top-bar .login a {
  font-weight: 600;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 0 !important;
}

.nav-bar,
.bg-light {
  background-color: #fff !important;
}

.nav-bar {
  border-bottom: 2px solid #f47d23 !important;
}

@media (max-width: 576px) {
  .nav-bar {
    border-bottom-width: 1px !important;
  }
}

.nav-btn {
  color: #000 !important;
  font-weight: bold;
}

.nav-btn:hover,
.nav-btn:active,
.active {
  color: #f37c20 !important;
}

.navbar-brand,
.nsavbar-brand {
  color: #155DFC !important;
  font-weight: bold;
  font-size: 25px !important;
}

.navbar-brand2 {
  color: #155DFC;
}

.navi {
  position: absolute;
  right: 8%;
}

.navbar-toggler-icon {
  width: 1.2em !important;
  height: 1.2em !important;
}

/* =====================================================
   BANNER
===================================================== */
:root {
  --banner-min-h: 280px; /* Reduzido para mobile */
  --banner-max-h: 620px;
}

.banner-wrap {
  position: relative;
  border-bottom: 2px solid #f47d23;
}

.banner {
  width: 100%;
  display: block;
  background: #000;
  height: clamp(var(--banner-min-h), 50vw, var(--banner-max-h)); /* 50vw para ser mais flexível em mobile */
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 15px; /* Adicionado para mobile */
}

@media (min-width: 768px) {
  .banner-overlay {
    padding: 0;
  }
}

.banner-overlay .overlay-grid {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
}

.banner-copy {
  color: #ffffff;
  max-width: 640px;
  transform: translateY(20px); /* Menor deslocamento no mobile */
}

@media (min-width: 768px) {
  .banner-copy {
    transform: translateY(60px);
  }
}

.banner-copy h1 {
  margin: 0 0 .4rem;
  font-size: clamp(1.4rem, 8vw, 2.2rem); /* Mais agressivo no mobile */
  line-height: 1.1;
  font-weight: 800;
}

.btn-banner {
  background-color: #f47d23;
  color: #fff;
  font-weight: bold;
  font-size: clamp(.9rem, 1.6vw, 1rem);
  padding: .6rem 1rem;
  border-radius: .4rem;
}

/* Gradiente do banner */
.banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.35),
    rgba(0,0,0,0) 55%
  );
  pointer-events: none;
}

/* Botão vídeo */
.video-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .video-toggle {
    width: 40px;
    height: 40px;
    right: 16px;
    bottom: 16px;
  }
}

.video-toggle i {
  font-size: 14px;
}

@media (min-width: 768px) {
  .video-toggle i {
    font-size: 18px;
  }
}

.video-toggle:hover {
  background: rgba(0,0,0,0.8);
  border-color: #f47d23;
  transform: scale(1.1);
}

.down-ar {
  color: #000000;
  font-size: 1.5rem;
  margin: 10px 0;
}

@media (max-width: 575.98px) { }

/* Responsividade do bloco de texto do banner */
@media (min-width: 576px) and (max-width: 991.98px) {
  .banner-overlay { align-items: flex-end; padding-bottom: 3.5rem; }
  .banner-copy { transform: translateY(28px); }
}
@media (max-width: 575.98px) {
  .banner-overlay { align-items: flex-end; padding-bottom: 2rem; }
  .banner-copy { transform: translateY(12px); }
}

/* =====================================================
   SEÇÕES
===================================================== */
.aft-banner,
.signup {
  background-color: #1f2533;
  color: #fff;
}

.aft-banner { padding: 15px 0; }
.signup     { padding: 35px 0; }

.heading {
  color: #155DFC;
  font-weight: bold;
  text-align: center;
}

.heading h2 {
  font-size: 1.6rem;
}

@media (min-width: 768px) {
  .heading h2 {
    font-size: 2rem;
  }
}

.smoke {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.white {
  background-color: #fff;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .smoke, .white {
    padding: 80px 0;
  }
}

.dark {
  background-color: #3a3a3a;
  padding: 50px 0;
}

.darker {
  background-color: #1d1d1d;
  padding: 20px 0;
}

/* =====================================================
   BOXES / PREÇOS
===================================================== */
.g-box {
  background-color: #155DFC;
  padding: 10px;
  font-size: 22px;
  text-align: center;
  width: 160px;
  display: inline-block;
  
}

.price-box,
.price-box-dark {
  text-align: center;
  margin-bottom: 30px;
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  border: 1px solid rgba(21, 93, 252, 0.08);
  position: relative;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-box {
  padding: 45px 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.price-box-dark {
  background: #ffffff;
  padding: 45px 30px;
  margin-top: 0;
  border: 2px solid #155DFC;
  box-shadow: 0 20px 50px rgba(21, 93, 252, 0.1);
  z-index: 2;
}

/* Badge Recomendado Estilizado */
.badge-popular {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #155DFC;
  color: #fff;
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(21, 93, 252, 0.3);
  letter-spacing: 1.5px;
  z-index: 10;
  border: 2px solid #fff;
}

.price-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  border-color: rgba(21, 93, 252, 0.2);
}

.price-box-dark:hover {
  transform: translateY(-15px);
  box-shadow: 0 35px 70px rgba(21, 93, 252, 0.15);
}

.price-box h3, 
.price-box-dark h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #1a2634;
  letter-spacing: 1px;
}

.price-box-dark h3 {
  color: #155DFC;
}

.price-box h2, 
.price-box-dark h2 {
  font-size: 3.2rem;
  margin: 5px 0 0;
  font-weight: 900;
  color: #1a2634;
  letter-spacing: -1px;
}

.price-box .text-org,
.price-box-dark .text-org {
  color: #f47d23 !important;
}

.price-info {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a0aec0;
  margin-top: -5px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-features {
  text-align: left;
  margin: 20px 0 30px;
  flex-grow: 1;
}

.price-features div {
  font-size: 0.9rem;
  padding: 12px 0;
  font-weight: 500;
  color: #4a5568;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.price-features div:last-child {
  border-bottom: none;
}

.price-features i {
  color: #155DFC;
  margin-right: 15px;
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
  opacity: 0.8;
}

.price-box-dark .price-features i {
  color: #155DFC;
}

@media (min-width: 768px) {
  .price-box-dark {
    margin-top: -20px;
    padding: 60px 30px;
  }
}

.price-box .btn-banner,
.price-box-dark .btn-banner {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-box-dark .btn-banner {
  background: #155DFC;
  box-shadow: 0 10px 25px rgba(21, 93, 252, 0.2);
}

.price-box-dark .btn-banner:hover {
  background: #0042d6;
  box-shadow: 0 15px 30px rgba(21, 93, 252, 0.3);
}

@media (max-width: 576px) {
  .heading {
    margin-bottom: 30px !important;
  }
  
  .heading h2 {
    font-size: 1.4rem !important;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  
  .heading p {
    font-size: 0.9rem;
    line-height: 1.45;
  }
}

/* =====================================================
   RESPONSIVIDADE EXTRA (PIXEL 7 / MOBILE)
===================================================== */
@media (max-width: 576px) {
  .heading h2 {
    font-size: 1.35rem !important;
    line-height: 1.3;
  }
  
  .smoke, .white {
    padding: 40px 15px; /* Mais respiro nas laterais */
  }

  .price-box, .price-box-dark {
    padding: 24px 16px;
  }

  .price-box h2, .price-box-dark h2 {
    font-size: 1.8rem;
  }
  
  .price-box .btn-banner,
  .price-box-dark .btn-banner {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .badge-popular {
    top: -12px;
    padding: 4px 16px;
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .navbar-brand {
    font-size: 18px !important;
  }

  .top-bar {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .price-box h3, .price-box-dark h3 {
    font-size: 0.95rem;
  }
  
  .price-box h2, .price-box-dark h2 {
    font-size: 1.6rem;
  }

  .price-features div {
    font-size: 0.85rem;
    padding: 8px 0;
  }

  .price-features i {
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .signup h2 {
    font-size: 1.5rem;
  }
  
  .signup .input-group {
    flex-direction: column;
    gap: 10px;
  }

  .signup .input-group-append {
    width: 100%;
    margin-left: 0;
  }

  .signup .btn-banner {
    width: 100%;
    border-radius: 4px !important;
  }

  .signup .form-control {
    border-radius: 4px !important;
    text-align: center;
  }
}

/* =====================================================
   UTILITÁRIOS
===================================================== */
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}


.adv-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.adv-ico svg,
.adv-ico i {
  width: 100%;
  height: 100%;
  font-size: 28px;
  line-height: 1;
}

.feat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.gr-line {
  border-bottom: 1px solid #1a2635;
  margin: 10px;
}

.bordery {
  background: #fff;
  padding: 30px;
  height: 100%;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  margin-bottom: 20px; /* Adicionado para espaçamento no mobile */
}

@media (min-width: 768px) {
  .bordery {
    margin-bottom: 0;
  }
}

.bordery:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(21, 93, 252, 0.1);
  border-color: rgba(21, 93, 252, 0.2);
}

.feat-head {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.feat-head .text-dark {
  font-weight: 700;
  font-size: 1.15rem;
  margin-left: 15px;
}

.features {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .bordery {
    padding: 35px;
  }
}

/* Ajuste para o grid de cards */
#fh5co-features .col-sm-4 {
  margin-bottom: 30px;
}

.wordpress-bg {
  background: linear-gradient(rgba(21, 93, 252, 0.9), rgba(21, 93, 252, 0.9));
  padding: 60px 20px;
  color: #fff;
  border-radius: 20px;
  margin: 40px 15px;
}

@media (min-width: 768px) {
  .wordpress-bg {
    padding: 100px 0;
    margin: 80px 0;
    border-radius: 0;
  }
}

.wordpress-bg h2 {
  color: #fff !important;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media (max-width: 991.98px) {
  .g-box { width: 150px; font-size: 21px; }
}

@media (max-width: 767.98px) {
  .g-box { width: 140px; font-size: 20px; }
}

@media (max-width: 575.98px) {
  :root { 
    --banner-min-h: 240px;
    --banner-max-h: 300px; 
  }

  .banner-wrap {
    border-bottom: 1px solid #f47d23;
  }

  .banner-copy {
    display: none !important;
  }

  .login {
    text-align: center;
  }
}

@media (min-width: 1400px) {
  :root { --banner-max-h: 720px; }

  .banner-copy h1 {
    font-size: 2.8rem;
  }
}

/* Background escuro genérico */
.dark-bg {
  background-color: #272727;
  color: #fff;
  border: 1px solid #444;
}

/* Footer Styles */
.footer-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-socials i {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover i {
  color: #f47d23;
}

@media (max-width: 767.98px) {
  #fh5co-footer .col-sm-4 {
    text-align: center;
    margin-bottom: 40px;
  }
  
  #fh5co-footer .col-sm-4:last-child {
    margin-bottom: 0;
  }
  
  .footer-links .row {
    justify-content: center;
  }
}
  
  #fh5co-footer table td {
    padding: 5px 15px;
  }


@media (min-width: 576px) {
  .w-sm-auto {
    width: auto !important;
  }
}
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 18px !important;
  }
  
  .top-bar {
    font-size: 12px;
  }
}

:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-soft: #f5f7fb;
  --border: #dde3ee;
  --primary: #155DFC;
  --primary-accent: #3d7dff;
  --primary-glow: rgba(21,93,252,.35);
  --text: #1a2634;
  --text-soft: #6b7280;
  --danger: #ff4d4f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(15,23,42,0.16);
}

.hidden {
  display: none !important;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .7rem 1.15rem;
  line-height: 1;
  position: relative;
  transition: all .3s cubic-bezier(.22,.8,.38,1);
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg,#f47d23 0%,#e06f1f 100%);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(244,125,35,.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg,#ff9a4a 0%,#f47d23 100%);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -6px rgba(244,125,35,.7);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  text-decoration: none;
  border-color: #f47d23;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -6px rgba(61,125,255,.6);
}

.btn-primary.small,
.btn-outline.small {
  padding: .5rem .85rem;
  font-size: .85rem;
}

.btn-primary.large {
  font-size: 1.05rem;
  padding: 1rem 1.55rem;
}

.toast-container {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: min(340px,92vw);
}

.toast {
  background: #ffffff;
  color: #1a2634;
  padding: .85rem 1rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: .8rem;
  line-height: 1.35;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  animation: toast-in .55s cubic-bezier(.22,.8,.38,1) forwards;
}

.toast.success {
  border-color:#22c55e;
  background:#ecfdf3;
  color:#166534;
}
.toast.error {
  border-color:var(--danger);
  background:#fef2f2;
  color:#991b1b;
}
.toast.warning {
  border-color:#facc15;
  background:#fffbeb;
  color:#854d0e;
}
.toast.info {
  border-color:#155DFC;
  background:#eff6ff;
  color:#1d4ed8;
}

.toast .toast-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
  font-size: .8rem;
  padding: .25rem;
}

.toast .toast-close:hover { color: var(--text); }

@keyframes toast-in {
  to { opacity:1; transform:translateY(0); }
}

@keyframes toast-out {
  to { opacity:0; transform:translateY(-6px); }
}

.btn-primary.loading,
.btn-outline.loading {
  position: relative;
  pointer-events: none;
  opacity: .8;
}

.btn-primary.loading:after,
.btn-outline.loading:after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
}

.btn-primary.loading:before,
.btn-outline.loading:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.55);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-soft);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  background: #ffffff;
  color: #1a2634;
  border: 1px solid #ced4da;
  border-radius: var(--radius-sm);
  padding: .7rem .75rem;
  font: inherit;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 1px solid var(--primary);
  border-color: var(--primary);
}

.form-extra { margin: 1rem 0; }

.checkbox {
  font-size: .75rem;
  color: var(--text-soft);
  display: flex;
  gap: .45rem;
  align-items: flex-start;
}

.checkbox input { margin-top: .2rem; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.form-status {
  font-size: .75rem;
  color: var(--text-soft);
  min-height: 1rem;
}

.form-status.success { color:#4caf50; }
.form-status.error { color:var(--danger); }

#contract-modal-overlay .form-actions { margin-top:.35rem; }
#contract-modal-overlay .form-actions .form-status { flex-basis:100%; margin-top:.4rem; }
#contract-modal-overlay .contract-box { margin-top:.35rem; }

.ny-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  background: rgba(0,0,0,.66);
}

.ny-modal {
  width: min(620px,96vw);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.1rem;
  position: relative;
  color: var(--text);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
}

.ny-modal.ny-modal-wide {
  width: min(860px,96vw);
  max-height: calc(100vh - 2.5rem);
}

.ny-modal h3 {
  margin: .15rem 0 .35rem;
  font-size: 1.15rem;
  letter-spacing: .4px;
}

.ny-modal-sub {
  margin: 0 0 1.35rem;
  color: var(--text-soft);
  font-size: .85rem;
  line-height: 1.6;
}

.ny-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
}

.ny-modal-close:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

body.ny-modal-open { overflow: hidden; }

.checkout-result { margin-top: 1rem; }

.checkout-status-line {
  margin: .2rem 0 1rem;
  color: var(--text-soft);
  font-size: .85rem;
}

.checkout-progress { margin: -.25rem 0 1rem; }

.checkout-progress-track {
  height: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.checkout-progress-bar {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width .35s ease;
}

.checkout-progress-meta {
  display: flex;
  justify-content: flex-end;
  margin: .35rem 0 0;
  font-size: .75rem;
  color: var(--text-soft);
}

.checkout-done-hint {
  margin: 0 0 1rem;
  font-size: .8rem;
  color: var(--text);
}

.checkout-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 0 0 .85rem;
}

.checkout-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: .15rem 0;
}

.checkout-kv span {
  color: var(--text-soft);
  font-size: .75rem;
}

.checkout-kv strong {
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
}

.checkout-hint {
  margin: .7rem 0 0;
  color: var(--text-soft);
  font-size: .75rem;
}

.contract-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 0 0 .85rem;
}

.contract-text {
  margin: .6rem 0 0;
  white-space: pre-wrap;
  max-height: 42vh;
  overflow: auto;
  color: var(--text-soft);
  font-size: .75rem;
  line-height: 1.45;
}

.billing-choice {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.1rem;
  align-items: flex-start;
  padding: .9rem .95rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: .15rem 0 1.05rem;
}

.billing-choice .radio {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .8rem;
  color: var(--text-soft);
  cursor: pointer;
  line-height: 1.4;
}

.billing-choice input[type="radio"] {
  accent-color: var(--primary);
}

form.success-highlight {
  animation: successPulse 2.1s ease 1;
}

@keyframes successPulse {
  0%   { box-shadow:0 0 0 0 rgba(21,93,252,0); }
  20%  { box-shadow:0 0 0 4px rgba(21,93,252,.25); }
  100% { box-shadow:0 0 0 0 rgba(21,93,252,0); }
}

@media (max-width: 575.98px) {
  .ny-modal-overlay {
    align-items: flex-start;
    padding: 0;
  }

  .ny-modal {
    width: 100vw;
    max-height: 100vh;
    height: auto;
    border-radius: 0;
    padding: 1rem 1rem .9rem;
  }

  .ny-modal.ny-modal-wide {
    width: 100vw;
    max-height: 100vh;
  }

  .contract-text {
    max-height: 55vh;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn-primary,
  .form-actions .btn-secondary,
  .form-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 17px;
    min-height: 44px;
  }
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  display: flex;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner-inner {
  max-width: 960px;
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.25);
  padding: 1.25rem 1.5rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: auto;
}

.cookie-banner-title {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.cookie-banner-text {
  margin: 0;
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.btn-cookie {
  border-radius: 999px;
  padding: .55rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-cookie.primary {
  background: #5b21ff;
  color: #ffffff;
}

.btn-cookie.primary:hover {
  background: #4c1d95;
}

.btn-cookie.ghost {
  background: #ffffff;
  color: #4b5563;
  border-color: #e5e7eb;
}

.btn-cookie.ghost:hover {
  background: #f3f4f6;
}

.btn-cookie.outline {
  background: #ffffff;
  color: #4b5563;
  border-color: #e5e7eb;
}

.btn-cookie.outline:hover {
  background: #f3f4f6;
}

.cookie-link {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: #1d4ed8;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.cookie-modal {
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
}

#cookie-policy-overlay {
  z-index: 200;
}

.cookie-preferences {
  margin: .6rem 0 1.4rem;
  padding: .95rem 1rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.cookie-preferences h4 {
  margin: 0 0 .6rem;
  font-size: .95rem;
  font-weight: 700;
}

.cookie-preferences-list {
  list-style: none;
  margin: 0 0 .8rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .85rem;
  color: #4b5563;
}

.cookie-toggle input {
  margin-top: .2rem;
}

.cookie-toggle-label strong {
  display: block;
  margin-bottom: .15rem;
  color: #111827;
}

.cookie-policy-text {
  margin-top: .8rem;
  font-size: .85rem;
  color: #4b5563;
  line-height: 1.6;
}

.cookie-policy-text h4 {
  margin: 1.1rem 0 .35rem;
  font-size: .95rem;
  color: #111827;
}

.cookie-policy-text p {
  margin: 0 0 .4rem;
}

.cookie-policy-text ul {
  margin: 0 0 .6rem 1.1rem;
  padding: 0;
}

.cookie-policy-text li {
  margin-bottom: .25rem;
}

.cookie-preferences-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 575.98px) {
  .cookie-banner {
    padding: .75rem;
  }

  .cookie-banner-inner {
    border-radius: 14px 14px 0 0;
  }

  .cookie-banner-actions {
    flex-direction: column;
  }

  .btn-cookie {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.price-box,
.price-box-dark {
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.price-box.recommended,
.price-box-dark.recommended {
  border: 2px solid #5b21ff;
  box-shadow: 0 20px 48px rgba(91, 33, 255, .25);
  transform: translateY(-2px);
}

.price-box.recommended .badge-popular,
.price-box-dark.recommended .badge-popular {
  background: linear-gradient(135deg, #5b21ff, #7c3aed);
}

.sales-assistant-launcher {
  position: fixed;
  bottom: 96px;
  right: 72px;
  z-index: 180;
  border-radius: 999px;
  background: #ffffff;
  color: #155DFC;
  padding: .5rem .8rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.35);
  border: 2px solid #f47d23;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.sales-assistant-launcher .assistant-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sales-assistant-launcher .assistant-icon img {
  width: 16px;
  height: 16px;
  display: block;
  border-radius: 4px;
}

.sales-assistant-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
  background: #f9fafb;
  border-color: #f47d23;
}

.sales-assistant-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: min(380px, 90vw);
  max-height: 440px;
  z-index: 185;
  background: #ffffff;
  color: #1a2634;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sales-assistant-header {
  padding: .85rem 1rem .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f47d23;
  background: #155DFC;
  color: #ffffff;
}

.sales-assistant-title {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.sales-assistant-title strong {
  font-size: .9rem;
}

.sales-assistant-title span {
  font-size: .75rem;
  color: #e5e7eb;
}

.sales-assistant-close {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}

.sales-assistant-messages {
  padding: .9rem 1rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  font-size: .85rem;
}

.sales-assistant-msg {
  max-width: 90%;
  padding: .55rem .7rem;
  border-radius: 12px;
  line-height: 1.4;
}

.sales-assistant-msg.bot {
  background: #e5f0ff;
  border-radius: 14px 14px 14px 4px;
}

.sales-assistant-msg.user {
  background: #155DFC;
  color: #ffffff;
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
}

.sales-assistant-footer {
  padding: .65rem .75rem .75rem;
  border-top: 1px solid #f47d23;
  background: #f9fafb;
}

.sales-assistant-form {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.sales-assistant-input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #1a2634;
  padding: .45rem .8rem;
  font-size: .85rem;
}

.sales-assistant-input::placeholder {
  color: #9ca3af;
}

.sales-assistant-send {
  border-radius: 999px;
  border: none;
  background: #f47d23;
  color: #ffffff;
  padding: .45rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}

.sales-assistant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .45rem;
}

.sales-assistant-tag {
  border-radius: 999px;
  border: 1px solid #f47d23;
  padding: .25rem .6rem;
  font-size: .72rem;
  background: #ffffff;
  color: #155DFC;
  cursor: pointer;
}

@media (max-width: 640px) {
  .sales-assistant-launcher {
    bottom: 88px;
    right: 56px;
    padding-inline: .85rem;
  }

  .sales-assistant-panel {
    bottom: 88px;
    right: 8px;
    left: 8px;
    width: auto;
    max-height: 70vh;
    border-radius: 18px;
  }
}

@media (max-height: 720px) {
  .sales-assistant-panel {
    max-height: 60vh;
  }
}
