/* AI widget product page and teaser styles. */
.home-ai-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-ai-widget-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #0b0f14;
  color: #fff;
  box-shadow: 0 22px 50px rgba(5, 12, 18, 0.24);
  cursor: pointer;
  padding: 8px 18px 8px 8px;
}

.home-ai-widget-toggle span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: #0a8f4f;
  font-size: 13px;
  font-weight: 900;
}

.home-ai-widget-toggle strong {
  display: grid;
  gap: 2px;
  font-size: 15px;
  line-height: 1.05;
  text-align: left;
}

.home-ai-widget-toggle em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.home-ai-widget-panel {
  display: none;
  width: min(390px, calc(100vw - 28px));
  max-height: min(620px, calc(100dvh - 118px));
  overflow: hidden;
  border: 1px solid rgba(16, 31, 24, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(11, 143, 79, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 247, 0.96));
  box-shadow: 0 30px 90px rgba(5, 20, 14, 0.24);
  backdrop-filter: blur(18px);
}

.home-ai-widget.is-open .home-ai-widget-panel {
  display: flex;
  flex-direction: column;
}

.home-ai-widget.is-open .home-ai-widget-toggle {
  display: none;
}

.home-ai-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(25, 43, 35, 0.1);
  padding: 18px 18px 14px;
}

.home-ai-widget-head strong {
  display: block;
  color: #16251e;
  font-size: 18px;
  font-weight: 900;
}

.home-ai-widget-head span {
  display: block;
  margin-top: 3px;
  color: #0a8f4f;
  font-size: 13px;
  font-weight: 800;
}

.home-ai-widget-head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 45, 36, 0.1);
  border-radius: 999px;
  background: #f3f8f5;
  color: #31433a;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.home-ai-widget-chat {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  overflow-y: auto;
  padding: 18px;
  scrollbar-width: thin;
}

.home-ai-widget-message {
  max-width: 88%;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.48;
  padding: 12px 14px;
}

.home-ai-widget-message.is-ai {
  align-self: flex-start;
  border: 1px solid rgba(22, 37, 30, 0.08);
  background: #fff;
  color: #1c2d25;
  box-shadow: 0 14px 34px rgba(13, 36, 25, 0.08);
}

.home-ai-widget-message.is-user {
  align-self: flex-end;
  background: #0a8f4f;
  color: #fff;
  box-shadow: 0 16px 34px rgba(10, 143, 79, 0.2);
}

.home-ai-widget-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 18px 12px;
}

.home-ai-widget-chips button {
  min-height: 38px;
  border: 1px solid rgba(10, 143, 79, 0.18);
  border-radius: 14px;
  background: #f8fcfa;
  color: #20392e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.home-ai-widget-chips button:hover {
  background: #eaf7f0;
}

.home-ai-widget-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  padding: 0 18px 12px;
}

.home-ai-widget-form input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(24, 45, 36, 0.12);
  border-radius: 16px;
  background: #fff;
  color: #17241e;
  font: inherit;
  padding: 0 13px;
  outline: 0;
}

.home-ai-widget-form input:focus {
  border-color: rgba(10, 143, 79, 0.62);
  box-shadow: 0 0 0 4px rgba(10, 143, 79, 0.1);
}

.home-ai-widget-form button {
  border: 0;
  border-radius: 16px;
  background: #0a8f4f;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.home-ai-widget.is-busy .home-ai-widget-form button,
.home-ai-widget.is-busy .home-ai-widget-chips button {
  cursor: wait;
  opacity: 0.55;
}

.home-ai-widget-status {
  margin: 0;
  border-top: 1px solid rgba(25, 43, 35, 0.08);
  color: #60736a;
  font-size: 12px;
  line-height: 1.35;
  padding: 11px 18px 15px;
}

.home-ai-widget-status[data-type="success"] {
  color: #087d45;
  font-weight: 800;
}

.home-ai-widget-status[data-type="error"] {
  color: #b52b1f;
}

@media (max-width: 760px) {
  .home-ai-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .home-ai-widget-panel {
    width: 100%;
    max-height: min(590px, calc(100dvh - 96px));
  }

  .home-ai-widget-toggle {
    min-height: 52px;
  }
}

/* AI widget landing page */
.ai-widget-page {
  background: #f5f7f2;
  color: #17241e;
}

.ai-widget-header {
  background: rgba(245, 247, 242, 0.86);
  border-color: rgba(23, 36, 30, 0.08);
  backdrop-filter: blur(18px);
}

.aiw-hero {
  position: relative;
  overflow: hidden;
  padding: 122px 0 76px;
}

.aiw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 14%, rgba(10, 143, 79, 0.18), transparent 34%),
    linear-gradient(180deg, #f7faf5 0%, #eef5ef 100%);
}

.aiw-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(560px, 0.95fr) minmax(520px, 1.05fr);
  gap: 46px;
  align-items: center;
}

.aiw-hero-copy {
  max-width: 760px;
}

.aiw-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(10, 143, 79, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #087d45;
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 24px;
  padding: 8px 13px;
  box-shadow: 0 18px 50px rgba(16, 47, 31, 0.06);
}

.aiw-badge i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0a8f4f;
  box-shadow: 0 0 0 7px rgba(10, 143, 79, 0.12);
}

.aiw-hero h1 {
  max-width: 760px;
  color: #121d18;
  font-size: clamp(42px, 3.65vw, 60px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.aiw-hero-copy > p {
  max-width: 660px;
  color: #596a61;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin: 26px 0 0;
}

.aiw-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.aiw-free-note {
  color: #087d45;
  font-size: 15px;
  font-weight: 850;
  margin: 14px 0 0;
}

.aiw-trust span,
.aiw-options span,
.aiw-audience span {
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #243a31;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 13px;
}

.aiw-product-shot {
  position: relative;
  min-height: 560px;
}

.aiw-browser {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(23, 36, 30, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 100px rgba(16, 47, 31, 0.16);
  backdrop-filter: blur(18px);
}

.aiw-browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(23, 36, 30, 0.08);
  padding: 16px 18px;
}

.aiw-browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cfd8d2;
}

.aiw-browser-top em {
  margin-left: 10px;
  color: #6d7b74;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.aiw-site-preview {
  display: grid;
  gap: 16px;
  padding: 34px 28px;
}

.aiw-site-line,
.aiw-site-cards span {
  border-radius: 999px;
  background: #e7eee9;
}

.aiw-site-line {
  width: 54%;
  height: 18px;
}

.aiw-site-line.wide {
  width: 78%;
  height: 32px;
  background: #d9e6de;
}

.aiw-site-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.aiw-site-cards span {
  height: 106px;
  border-radius: 20px;
}

.aiw-mini-widget {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: min(310px, calc(100% - 52px));
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(7, 34, 21, 0.18);
  padding: 18px;
}

.aiw-mini-head strong,
.aiw-lead-card strong {
  display: block;
  color: #14231c;
  font-size: 18px;
  font-weight: 900;
}

.aiw-mini-head small,
.aiw-lead-card span {
  display: block;
  color: #0a8f4f;
  font-size: 12px;
  font-weight: 850;
  margin-top: 3px;
}

.aiw-mini-widget p {
  border-radius: 18px;
  background: #edf5f0;
  color: #22372e;
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0 12px;
  padding: 12px;
}

.aiw-mini-bubbles {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.aiw-mini-bubbles span {
  border-radius: 999px;
  background: #0a8f4f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.aiw-mini-input {
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 15px;
  color: #87948e;
  font-size: 13px;
  padding: 12px;
}

.aiw-lead-card {
  position: absolute;
  left: -22px;
  bottom: 40px;
  width: 260px;
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 24px;
  background: #14231c;
  color: #fff;
  box-shadow: 0 28px 70px rgba(7, 20, 14, 0.24);
  padding: 20px;
}

.aiw-lead-card strong {
  color: #fff;
  margin-top: 6px;
}

.aiw-lead-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.aiw-lead-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.aiw-lead-card dt {
  color: rgba(255, 255, 255, 0.6);
}

.aiw-lead-card dd {
  margin: 0;
  text-align: right;
}

.aiw-section {
  padding: 92px 0;
}

.aiw-muted {
  background: #eef5ef;
}

.aiw-proof-note {
  background: #f7fbf7;
  padding: 18px 0;
}

.aiw-proof-note p {
  border: 1px solid rgba(10, 143, 79, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 143, 79, 0.08), rgba(255, 255, 255, 0.92)),
    #fff;
  color: #24342d;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.45;
  margin: 0;
  padding: 16px 20px;
  box-shadow: 0 16px 50px rgba(16, 47, 31, 0.06);
}

.aiw-section-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.aiw-section-head.left {
  margin-inline: 0;
  text-align: left;
}

.aiw-section-head span,
.aiw-cta-card > div > span {
  color: #0a8f4f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aiw-section-head h2,
.aiw-cta-card h2 {
  color: #16231d;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 10px 0 0;
}

.aiw-section-head p,
.aiw-cta-card p {
  color: #5d6b64;
  font-size: 17px;
  line-height: 1.55;
  margin: 18px 0 0;
}

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

.aiw-steps article,
.aiw-feature-grid article,
.aiw-stats article,
.aiw-cta-card {
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 60px rgba(16, 47, 31, 0.08);
}

.aiw-steps article,
.aiw-feature-grid article,
.aiw-stats article {
  padding: 22px;
}

.aiw-steps b {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #e3f2e9;
  color: #087d45;
  font-size: 13px;
}

.aiw-steps h3,
.aiw-feature-grid h3 {
  color: #17241e;
  font-size: 19px;
  font-weight: 900;
  margin: 18px 0 8px;
}

.aiw-steps p,
.aiw-feature-grid p {
  color: #65746e;
  line-height: 1.5;
  margin: 0;
}

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

.aiw-feature-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aiw-after-grid,
.aiw-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
}

.aiw-options,
.aiw-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.aiw-stats {
  display: grid;
  gap: 14px;
}

.aiw-stats article strong {
  display: block;
  color: #0a8f4f;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.aiw-stats article span {
  display: block;
  color: #182820;
  font-size: 18px;
  font-weight: 900;
  margin-top: 7px;
}

.aiw-stats article p {
  color: #65746e;
  margin: 7px 0 0;
}

.aiw-audience {
  justify-content: center;
}

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

.aiw-persona-grid article,
.aiw-security-card {
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 60px rgba(16, 47, 31, 0.08);
}

.aiw-persona-grid article {
  padding: 24px;
}

.aiw-persona-grid h3 {
  color: #17241e;
  font-size: 21px;
  font-weight: 900;
  margin: 0 0 10px;
}

.aiw-persona-grid p {
  color: #65746e;
  line-height: 1.52;
  margin: 0;
}

.aiw-security {
  padding-top: 20px;
}

.aiw-security-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(10, 143, 79, 0.14), transparent 36%),
    #14231c;
  color: #fff;
  padding: 34px;
}

.aiw-security-card span {
  color: #8ee0b4;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aiw-security-card h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 10px 0 0;
}

.aiw-security-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.55;
  margin: 18px 0 0;
}

.aiw-security-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aiw-security-card li {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
  line-height: 1.42;
  padding: 14px 14px 14px 38px;
}

.aiw-security-card li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #8ee0b4;
}

.aiw-faq {
  background: #f7fbf7;
}

.aiw-faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.aiw-faq-list details {
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(16, 47, 31, 0.07);
  overflow: hidden;
}

.aiw-faq-list summary {
  cursor: pointer;
  color: #17241e;
  font-size: 19px;
  font-weight: 900;
  list-style: none;
  padding: 22px 24px;
}

.aiw-faq-list summary::-webkit-details-marker {
  display: none;
}

.aiw-faq-list summary::after {
  content: "+";
  float: right;
  color: #0a8f4f;
  font-size: 24px;
  line-height: 1;
}

.aiw-faq-list details[open] summary::after {
  content: "–";
}

.aiw-faq-list p {
  border-top: 1px solid rgba(23, 36, 30, 0.08);
  color: #65746e;
  font-size: 16px;
  line-height: 1.58;
  margin: 0;
  padding: 0 24px 22px;
}

.aiw-cta {
  padding: 80px 0 100px;
}

.aiw-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 30px;
  background: #14231c;
  color: #fff;
  padding: 34px;
}

.aiw-cta-card h2,
.aiw-cta-card p {
  color: #fff;
}

.aiw-cta-card p {
  color: rgba(255, 255, 255, 0.72);
}

.aiw-cta-card .button-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.aiw-cta-actions {
  display: grid;
  gap: 16px;
}

.aiw-lead-form {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.aiw-lead-form label {
  color: rgba(255, 255, 255, 0.82);
}

.aiw-lead-form input {
  background: rgba(255, 255, 255, 0.96);
}

.aiw-lead-form .consent-check {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.aiw-lead-form .consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #0a8f4f;
}

.aiw-lead-form .consent-check span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.42;
}

.aiw-lead-form .consent-check a {
  color: #8ee0b4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aiw-lead-form .button {
  width: 100%;
  justify-content: center;
}

.aiw-lead-form .form-status {
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  margin: 0;
  padding: 12px 14px;
}

.aiw-lead-form .form-status[data-type="success"] {
  background: rgba(142, 224, 180, 0.18);
  color: #bdf5d5;
}

.aiw-lead-form .form-status[data-type="error"],
.aiw-lead-form .form-status[data-type="warning"] {
  background: rgba(255, 112, 112, 0.14);
  color: #ffd0d0;
}

.ai-widget-teaser {
  background: #f5f7f2;
  padding: 54px 0;
}

.ai-widget-teaser-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(23, 36, 30, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(10, 143, 79, 0.12), transparent 32%),
    #fff;
  box-shadow: 0 24px 80px rgba(16, 47, 31, 0.08);
  padding: 28px;
}

.ai-widget-teaser-card span {
  color: #0a8f4f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-widget-teaser-card h2 {
  color: #14231c;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
  margin: 8px 0 0;
}

.ai-widget-teaser-card p {
  max-width: 700px;
  color: #5d6b64;
  font-size: 17px;
  line-height: 1.52;
  margin: 14px 0 0;
}

@media (max-width: 1100px) {
  .aiw-hero-grid,
  .aiw-after-grid,
  .aiw-proof-grid {
    grid-template-columns: 1fr;
  }

  .aiw-hero-copy,
  .aiw-hero h1 {
    max-width: 840px;
  }

  .aiw-steps,
  .aiw-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aiw-persona-grid,
  .aiw-security-card {
    grid-template-columns: 1fr;
  }

  .aiw-product-shot {
    min-height: 540px;
  }
}

@media (max-width: 720px) {
  .aiw-hero {
    padding: 112px 0 56px;
  }

  .aiw-hero h1 {
    font-size: clamp(34px, 9.2vw, 52px);
    line-height: 1.02;
  }

  .aiw-steps,
  .aiw-feature-grid,
  .aiw-feature-grid.compact,
  .aiw-persona-grid {
    grid-template-columns: 1fr;
  }

  .aiw-product-shot {
    min-height: auto;
  }

  .aiw-browser {
    height: 500px;
  }

  .aiw-lead-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 14px;
  }

  .aiw-cta-card {
    align-items: flex-start;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .ai-widget-teaser-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .aiw-section {
    padding: 64px 0;
  }
}
