/* All styles scoped to .aidocs-landing */

/* --- Grain / noise overlay --- */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: #0D0D1A;
  -webkit-font-smoothing: antialiased;
  background: #FAFAFF;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}

/* --- Gradient text --- */
.text-gradient {
  background: linear-gradient(135deg, #FF0078 0%, #F29448 50%, #FF0078 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.text-gradient-static {
  background: linear-gradient(135deg, #FF0078 0%, #F29448 86%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-brand-gradient { background: linear-gradient(135deg, #FF0078 0%, #F29448 86%); }

/* --- Decorative circle rings --- */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid;
}
.deco-ring-pink { border-color: rgba(255, 0, 120, 0.07); }
.deco-ring-orange { border-color: rgba(242, 148, 72, 0.06); }
.deco-ring-violet { border-color: rgba(108, 99, 255, 0.07); }
.deco-ring-dark { border-color: rgba(13, 13, 26, 0.04); }
/* Dashed variant */
.deco-ring-dashed { border-style: dashed; }
/* Double ring effect */
.deco-ring-double {
  box-shadow: inset 0 0 0 8px transparent, inset 0 0 0 9px currentColor;
}
.deco-ring-pink.deco-ring-double { color: rgba(255, 0, 120, 0.05); }
.deco-ring-violet.deco-ring-double { color: rgba(108, 99, 255, 0.05); }

/* --- Glass card --- */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 8px 40px rgba(13, 13, 26, 0.06),
    0 2px 12px rgba(108, 99, 255, 0.04);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 20px 60px rgba(255, 0, 120, 0.08),
    0 8px 24px rgba(13, 13, 26, 0.08);
}

/* --- Dark glass card --- */
.glass-card-dark {
  background: rgba(13, 13, 26, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 13, 26, 0.06);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(13, 13, 26, 0.04);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.glass-card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 13, 26, 0.08);
}

/* --- CTA Button --- */
.btn-cta {
  background: linear-gradient(135deg, #FF0078 0%, #F29448 86%);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 1rem 2.25rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow:
    0 4px 20px rgba(255, 0, 120, 0.3),
    0 1px 0 rgba(255,255,255,0.2) inset;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(255, 0, 120, 0.35),
    0 4px 16px rgba(242, 148, 72, 0.2),
    0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-cta:hover::before { opacity: 1; }
.btn-cta:active { transform: translateY(0) scale(0.98); }
.btn-cta:focus-visible { outline: 3px solid #FF0078; outline-offset: 4px; }

/* --- Secondary button --- */
.btn-secondary {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 1rem 2.25rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border: 2px solid rgba(255, 0, 120, 0.25);
  color: #FF0078;
  background: rgba(255, 0, 120, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-secondary:hover {
  background: #FF0078;
  border-color: #FF0078;
  color: white;
  transform: translateY(-3px);
}
.btn-secondary:active { transform: translateY(0); }
.btn-secondary:focus-visible { outline: 3px solid #FF0078; outline-offset: 4px; }

/* --- Step number --- */
/* --- Sticky Steps --- */
/* --- Split Stepper with Side Preview --- */
.flow-stepper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .flow-stepper {
    grid-template-columns: 400px 1fr;
    gap: 48px;
  }
}
@media (min-width: 1024px) {
  .flow-stepper {
    grid-template-columns: 440px 1fr;
    gap: 56px;
  }
}

/* Left: Steps column with progress line */
.flow-steps {
  position: relative;
  padding-left: 28px;
}
.flow-steps::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, #6C63FF 0%, #FF0078 50%, #16a34a 100%);
  opacity: 0.18;
  border-radius: 2px;
}

.flow-step {
  position: relative;
  cursor: pointer;
  padding: 0 0 8px 0;
}
.flow-step + .flow-step {
  margin-top: 6px;
}

/* Node dot on the progress line */
.flow-step::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid #D4D4E8;
  background: white;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
  z-index: 2;
}
.flow-step[data-flow="0"]::before { border-color: rgba(108,99,255,0.3); }
.flow-step[data-flow="1"]::before { border-color: rgba(255,0,120,0.3); }
.flow-step[data-flow="2"]::before { border-color: rgba(22,163,74,0.3); }

.flow-step.flow-active::before {
  transform: scale(1.3);
}
.flow-step.flow-active[data-flow="0"]::before {
  border-color: #6C63FF;
  background: #6C63FF;
  box-shadow: 0 0 0 5px rgba(108,99,255,0.15);
}
.flow-step.flow-active[data-flow="1"]::before {
  border-color: #FF0078;
  background: #FF0078;
  box-shadow: 0 0 0 5px rgba(255,0,120,0.15);
}
.flow-step.flow-active[data-flow="2"]::before {
  border-color: #16a34a;
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22,163,74,0.15);
}

/* Step header (always visible) */
.flow-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  transition: background 0.25s ease;
}
.flow-step:hover .flow-step-head {
  background: rgba(108,99,255,0.03);
}
.flow-step.flow-active .flow-step-head {
  background: rgba(255,255,255,0.8);
}

.flow-step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}
.flow-step-num--1 { background: linear-gradient(135deg, #6C63FF, #9b8fff); }
.flow-step-num--2 { background: linear-gradient(135deg, #FF0078, #F29448); }
.flow-step-num--3 { background: linear-gradient(135deg, #16a34a, #4ade80); }

.flow-step-info { flex: 1; min-width: 0; }
.flow-step-info h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0D0D1A;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.flow-step:not(.flow-active) .flow-step-info h3 {
  color: #7A7A9E;
}

.flow-type-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 5px;
}
.flow-type-tag--input { color: #6C63FF; background: rgba(108,99,255,0.1); }
.flow-type-tag--ia { color: #FF0078; background: rgba(255,0,120,0.1); }
.flow-type-tag--output { color: #16a34a; background: rgba(22,163,74,0.1); }

/* Progress bar on active step */
.flow-progress {
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(13,13,26,0.04);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.flow-active .flow-progress {
  opacity: 1;
}
.flow-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.1s linear;
}
.flow-step[data-flow="0"] .flow-progress-bar { background: #6C63FF; }
.flow-step[data-flow="1"] .flow-progress-bar { background: #FF0078; }
.flow-step[data-flow="2"] .flow-progress-bar { background: #16a34a; }

/* Expandable body */
.flow-step-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
  padding: 0 18px;
}
.flow-active .flow-step-body {
  max-height: 300px;
  opacity: 1;
}

.flow-step-body p {
  font-family: 'DM Sans', sans-serif;
  color: #7A7A9E;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 8px 0 14px 44px;
}

.flow-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px 44px;
}

/* Right: Sticky preview */
.flow-preview {
  position: relative;
  min-height: 320px;
}
@media (min-width: 768px) {
  .flow-preview {
    position: sticky;
    top: 80px;
    align-self: start;
  }
}

.flow-preview-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.flow-preview-panel.flow-preview-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
}

.flow-preview-panel img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 10px 48px rgba(13,13,26,0.1), 0 2px 12px rgba(108,99,255,0.06);
  border: 1px solid rgba(255,255,255,0.7);
}

.flow-preview-caption {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #9A9ABE;
}
.flow-preview-caption strong {
  color: #0D0D1A;
}

@media (max-width: 767px) {
  .flow-steps { padding-left: 24px; }
  .flow-steps::before { left: 10px; }
  .flow-step::before { left: -18px; }
  .flow-step-body p,
  .flow-badges { margin-left: 0; }
  .flow-preview { display: none; }
}

/* --- Section divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.12), rgba(255,0,120,0.08), transparent);
}

/* --- FAQ — Split editorial layout --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: start;
  }
}

.faq-sidebar {
  position: sticky;
  top: 100px;
}
.faq-sidebar h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #0D0D1A;
  line-height: 1.15;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}
.faq-sidebar p {
  font-family: 'DM Sans', sans-serif;
  color: #7A7A9E;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 24px 0;
}
.faq-sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #FF0078;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,0,120,0.2);
  background: rgba(255,0,120,0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.22,1,0.36,1);
}
.faq-sidebar-cta:hover {
  background: rgba(255,0,120,0.08);
  border-color: rgba(255,0,120,0.35);
  transform: translateY(-1px);
}
.faq-sidebar-cta:focus-visible {
  outline: 2px solid #FF0078;
  outline-offset: 2px;
}
.faq-sidebar-cta:active {
  transform: translateY(0);
}

/* Right: questions list */
.faq-list { }

.faq-item {
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(13,13,26,0.05);
  margin-bottom: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.faq-open {
  border-color: rgba(255,0,120,0.12);
  box-shadow: 0 4px 20px rgba(255,0,120,0.05);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.faq-question:hover .faq-q-text {
  color: #FF0078;
}
.faq-question:focus-visible {
  outline: 2px solid #FF0078;
  outline-offset: -2px;
  border-radius: 14px;
}
.faq-question:active .faq-icon {
  transform: scale(0.92);
}
.faq-q-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0D0D1A;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,0,120,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF0078;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), background 0.25s ease;
}
.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(242,148,72,0.14);
  color: #F29448;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
  opacity: 0;
}
.faq-item.faq-open .faq-answer {
  max-height: 220px;
  opacity: 1;
}
.faq-answer p {
  font-family: 'DM Sans', sans-serif;
  color: #7A7A9E;
  font-size: 0.88rem;
  line-height: 1.75;
  padding: 0 20px 18px 20px;
  margin: 0;
}

/* --- Floating tag (trust badges) --- */
.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(108,99,255,0.08);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: #3D3D5C;
  font-family: 'DM Sans', sans-serif;
}

/* --- Scroll fade-in --- */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animated dashed border --- */
@keyframes dash-move {
  to { stroke-dashoffset: -20; }
}
.dash-border { animation: dash-move 1.5s linear infinite; }

/* --- Mockup frame --- */
.mockup-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(13, 13, 26, 0.15),
    0 12px 40px rgba(108, 99, 255, 0.06),
    0 0 0 1px rgba(108,99,255,0.08);
}

/* --- Testimonial card --- */
.testimonial-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(255, 0, 120, 0.06), 0 4px 16px rgba(13, 13, 26, 0.05);
}
.testimonial-card .quote-mark {
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: 'Outfit', serif;
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(135deg, #FF0078 0%, #F29448 86%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  pointer-events: none;
}

/* --- Testimonial horizontal carousel --- */
.testi-scroll-wrap {
  position: relative;
}
.testi-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}
.testi-scroll-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.testi-card-item {
  flex: 0 0 calc(33.333% - 11px);
  min-width: 280px;
}
.testi-card-item .testimonial-card {
  height: 100%;
}
@media (max-width: 768px) {
  .testi-card-item { flex: 0 0 calc(85% - 8px); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .testi-card-item { flex: 0 0 calc(50% - 8px); }
}
.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(13,13,26,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0D0D1A;
  box-shadow: 0 4px 16px rgba(13,13,26,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.testi-arrow:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(255,0,120,0.1);
  transform: translateY(-50%) scale(1.08);
}
.testi-arrow:focus-visible { outline: 2px solid #6C63FF; outline-offset: 2px; }
.testi-arrow:active { transform: translateY(-50%) scale(0.95); }
.testi-arrow-left { left: -16px; }
.testi-arrow-right { right: -16px; }

/* --- Logo marquee --- */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}
.logo-marquee-track img {
  height: 36px;
  width: auto;
  filter: grayscale(1) opacity(0.4);
  transition: filter 0.4s ease;
  flex-shrink: 0;
}
.logo-marquee-track img:hover {
  filter: grayscale(0) opacity(1);
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- FAQ --- */
.faq-item {
  border: 1px solid rgba(13,13,26,0.06);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 20px rgba(13, 13, 26, 0.05);
  border-color: rgba(108,99,255,0.12);
}
.faq-toggle {
  width: 100%;
  text-align: left;
  padding: 1.375rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: #0D0D1A;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s ease;
}
.faq-toggle:hover { background: rgba(255,0,120,0.02); }
.faq-toggle:focus-visible { outline: 3px solid #FF0078; outline-offset: -3px; }
.faq-toggle svg {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item.open .faq-toggle svg { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-body { max-height: 300px; }
/* Override Astra/WP default button focus/hover styles */
.aidocs-landing .faq-item,
.aidocs-landing .faq-item:hover,
.aidocs-landing .faq-item:focus,
.aidocs-landing .faq-item:focus-within {
  outline: none !important;
  box-shadow: none !important;
}
.aidocs-landing .faq-item:hover {
  box-shadow: 0 4px 20px rgba(13, 13, 26, 0.05) !important;
  border-color: rgba(108,99,255,0.12);
}
.aidocs-landing .faq-toggle,
.aidocs-landing .faq-toggle:hover,
.aidocs-landing .faq-toggle:focus,
.aidocs-landing .faq-toggle:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.aidocs-landing .faq-toggle:focus-visible {
  outline: 3px solid #FF0078 !important;
  outline-offset: -3px;
}
.faq-body-inner {
  padding: 0 1.75rem 1.375rem;
  color: #7A7A9E;
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* --- Stat value --- */
.stat-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #FF0078 0%, #F29448 86%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Cost Calculator --- */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .calc-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.calc-inputs {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(13,13,26,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 4px 24px rgba(255,0,120,0.04),
    0 1px 4px rgba(13,13,26,0.03);
}

.calc-slider-group {
  margin-bottom: 28px;
}
.calc-slider-group:last-child {
  margin-bottom: 0;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.calc-slider-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0D0D1A;
}
.calc-slider-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FF0078;
  min-width: 60px;
  text-align: right;
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #FF0078, #F29448);
  outline: none;
  cursor: pointer;
  position: relative;
}
.calc-range::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  box-shadow: none;
}
.calc-range::-moz-range-track {
  background: transparent;
  border: none;
  box-shadow: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #FF0078;
  box-shadow: 0 2px 8px rgba(255,0,120,0.25);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(255,0,120,0.35);
}
.calc-range::-webkit-slider-thumb:active {
  transform: scale(1.05);
}
.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #FF0078;
  box-shadow: 0 2px 8px rgba(255,0,120,0.25);
  cursor: pointer;
}
.calc-range:focus-visible {
  outline: 2px solid #FF0078;
  outline-offset: 4px;
}

.calc-range-limits {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: #A0A0C0;
}

/* Output cards */
.calc-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.calc-out-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(13,13,26,0.05);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 4px 20px rgba(13,13,26,0.04);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.calc-out-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 12px 32px rgba(255,0,120,0.08),
    0 4px 12px rgba(13,13,26,0.05);
}

.calc-out-card::after { display: none; }

.calc-out-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.calc-out-card--hours .calc-out-icon { background: rgba(255,0,120,0.07); color: #FF0078; }
.calc-out-card--errors .calc-out-icon { background: rgba(242,148,72,0.07); color: #F29448; }
.calc-out-card--cost .calc-out-icon { background: rgba(108,99,255,0.07); color: #6C63FF; }
.calc-out-card--time .calc-out-icon { background: rgba(22,163,74,0.07); color: #16a34a; }

.calc-out-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: #0D0D1A;
  transition: opacity 0.15s ease;
}
.calc-out-number.updating {
  opacity: 0.4;
}

.calc-out-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #7A7A9E;
  font-weight: 500;
  line-height: 1.4;
}

.calc-out-bar {
  width: 100%;
  height: 5px;
  background: rgba(13,13,26,0.04);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 14px;
}
.calc-out-bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.calc-out-card--hours .calc-out-bar-fill { background: linear-gradient(90deg, #FF0078, #F29448); }
.calc-out-card--errors .calc-out-bar-fill { background: linear-gradient(90deg, #F29448, #fbbf24); }
.calc-out-card--cost .calc-out-bar-fill { background: linear-gradient(90deg, #FF0078, #6C63FF); }
.calc-out-card--time .calc-out-bar-fill { background: linear-gradient(90deg, #16a34a, #22d3ee); }

/* Time comparison mini bar */
.calc-time-compare {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.calc-time-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.calc-time-bar--manual {
  background: rgba(239,68,68,0.12);
}
.calc-time-bar--manual .calc-time-bar-inner {
  background: linear-gradient(90deg, #ef4444, #fca5a5);
  height: 100%;
  border-radius: 4px;
  width: 100%;
}
.calc-time-bar--ai {
  background: rgba(22,163,74,0.10);
}
.calc-time-bar--ai .calc-time-bar-inner {
  background: linear-gradient(90deg, #16a34a, #86efac);
  height: 100%;
  border-radius: 4px;
  width: 2%;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.calc-time-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}
.calc-time-label--manual { color: #ef4444; }
.calc-time-label--ai { color: #16a34a; }

/* --- Objection box --- */
.objection-box {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,0,120,0.08);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

/* --- Output badges --- */
.aidocs-output-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.aidocs-output-badge:hover {
  transform: translateY(-2px);
}
.aidocs-output-badge--sharepoint {
  color: #0078d4;
  background: rgba(0,120,212,0.08);
  border-color: rgba(0,120,212,0.25);
}
.aidocs-output-badge--sharepoint:hover { box-shadow: 0 4px 12px rgba(0,120,212,0.15); }
.aidocs-output-badge--email {
  color: #e04a3f;
  background: rgba(224,74,63,0.08);
  border-color: rgba(224,74,63,0.25);
}
.aidocs-output-badge--email:hover { box-shadow: 0 4px 12px rgba(224,74,63,0.15); }
.aidocs-output-badge--iristrace {
  color: #FF0078;
  background: rgba(255,0,120,0.08);
  border-color: rgba(255,0,120,0.25);
}
.aidocs-output-badge--iristrace:hover { box-shadow: 0 4px 12px rgba(255,0,120,0.15); }
.aidocs-output-badge--excel {
  color: #16a34a;
  background: rgba(22,163,74,0.08);
  border-color: rgba(22,163,74,0.25);
}
.aidocs-output-badge--excel:hover { box-shadow: 0 4px 12px rgba(22,163,74,0.15); }
.aidocs-output-badge--api {
  color: #6C63FF;
  background: rgba(108,99,255,0.08);
  border-color: rgba(108,99,255,0.25);
}
.aidocs-output-badge--api:hover { box-shadow: 0 4px 12px rgba(108,99,255,0.15); }
.aidocs-output-badge--openai {
  color: #10a37f;
  background: rgba(16,163,127,0.08);
  border-color: rgba(16,163,127,0.25);
}
.aidocs-output-badge--openai:hover { box-shadow: 0 4px 12px rgba(16,163,127,0.15); }
.aidocs-output-badge--openwebui {
  color: #1e88e5;
  background: rgba(30,136,229,0.08);
  border-color: rgba(30,136,229,0.25);
}
.aidocs-output-badge--openwebui:hover { box-shadow: 0 4px 12px rgba(30,136,229,0.15); }
.aidocs-output-badge--litellm {
  color: #f59e0b;
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.25);
}
.aidocs-output-badge--litellm:hover { box-shadow: 0 4px 12px rgba(245,158,11,0.15); }
.aidocs-output-badge--upload {
  color: #7c3aed;
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.25);
}
.aidocs-output-badge--upload:hover { box-shadow: 0 4px 12px rgba(124,58,237,0.15); }

/* --- Section label pill --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FF0078;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  background: rgba(255,0,120,0.06);
  border: 1px solid rgba(255,0,120,0.1);
}

/* --- Problem X icon --- */
.problem-x {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(239,68,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Rejected method card --- */
.rejected-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(239,68,68,0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 8px 40px rgba(13,13,26,0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rejected-card:hover { transform: translateY(-4px); }

.rejected-card .rejected-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.rejected-card .rejected-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  filter: saturate(0.2) brightness(0.92) contrast(0.85);
  transition: filter 0.4s ease;
}
.rejected-card:hover .rejected-img-wrap img {
  filter: saturate(0.35) brightness(0.95) contrast(0.9);
}
/* Subtle red-tinted overlay */
.rejected-card .rejected-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(239,68,68,0.06) 0%, rgba(13,13,26,0.32) 100%);
  pointer-events: none;
}
/* Stamp hidden */
.rejected-stamp {
  display: none;
}
.rejected-stamp svg {
  display: none;
}

/* Diagonal red stripe across image */
.rejected-card .rejected-img-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20%;
  width: 140%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(239,68,68,0.7) 20%, rgba(239,68,68,0.7) 80%, transparent 100%);
  transform: rotate(-12deg);
  z-index: 2;
  box-shadow: 0 0 16px rgba(239,68,68,0.25);
}

.rejected-card .rejected-body {
  padding: 20px 22px 22px;
}
.rejected-card .rejected-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #dc2626;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  transform: rotate(-2deg);
  transform-origin: left center;
}

/* ========================== */
/* HERO ANIMATION STYLES      */
/* ========================== */
.hero-anim-container {
  position: relative;
  width: 100%;
  height: 560px;
}
@media (min-width: 640px) {
  .hero-anim-container { height: 620px; }
}

.anim-col-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
}
.anim-col-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: flex-start;
}

.anim-col-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.paper-sheet {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(13,13,26,0.1), 0 2px 8px rgba(0,0,0,0.04);
  opacity: 0;
  transition: none;
  will-change: transform, opacity;
  overflow: visible;
  cursor: pointer;
}
.paper-sheet.front { z-index: 8; }
.paper-sheet:not(.front) { z-index: 1; }
.paper-sheet#paper1 {
  width: 200px;
  top: 5%;
  right: 10px;
  transform: translateX(-80px) scale(0.7);
}
.paper-sheet#paper1.fly-in {
  transform: rotate(-4deg) scale(1);
}
.paper-sheet#paper2 {
  width: 140px;
  top: 32%;
  right: 80px;
  transform: translateX(-80px) scale(0.7);
}
.paper-sheet#paper2.fly-in {
  transform: rotate(3deg) scale(1);
}
.paper-sheet#paper3 {
  width: 190px;
  bottom: 2%;
  right: 0px;
  transform: translateX(-80px) scale(0.7);
}
.paper-sheet#paper3.fly-in {
  transform: rotate(-2deg) scale(1);
}
.paper-sheet img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.paper-sheet.fly-in {
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

/* Scan line overlay */
.paper-sheet::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  top: -10%;
  background: linear-gradient(90deg, transparent 0%, rgba(108,99,255,0.6) 20%, #6C63FF 50%, rgba(108,99,255,0.6) 80%, transparent 100%);
  box-shadow: 0 0 16px 4px rgba(108,99,255,0.25), 0 0 40px 8px rgba(108,99,255,0.1);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: 2px;
}
.paper-sheet.scanning::after {
  opacity: 1;
  animation: scan-line 1.2s ease-in-out forwards;
}
@keyframes scan-line {
  0% { top: -5%; opacity: 0; }
  5% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

.paper-sheet.scanned {
  opacity: 1;
  box-shadow: 0 12px 40px rgba(13,13,26,0.12), 0 0 0 1px rgba(108,99,255,0.25);
  transition: box-shadow 0.5s ease;
}

.data-card {
  width: 100%;
  max-width: 210px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1.5px solid rgba(108,99,255,0.12);
  box-shadow: 0 8px 32px rgba(108,99,255,0.07), 0 3px 12px rgba(13,13,26,0.04);
  padding: 12px 14px;
  opacity: 0;
  transform: translateX(40px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.data-card.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.data-card .data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  border-bottom: 1px solid rgba(13,13,26,0.04);
  font-size: 10px;
}
.data-card .data-row:last-child { border-bottom: none; }
.data-card .data-label { color: #7A7A9E; font-family: 'DM Sans', sans-serif; }
.data-card .data-value { color: #0D0D1A; font-family: 'Outfit', sans-serif; font-weight: 600; }
.data-card .data-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: #0D0D1A;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.data-card .data-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.validate-check {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34,197,94,0.35);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.validate-check.visible {
  opacity: 1;
  transform: scale(1);
}

.ai-processor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ai-processor.visible {
  opacity: 1;
  transform: scale(1);
}
.ai-processor .logo-ring {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(108,99,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 36px rgba(108,99,255,0.15), 0 0 0 0 rgba(108,99,255,0);
  transition: box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}
.ai-processor.pulse .logo-ring {
  box-shadow: 0 8px 36px rgba(108,99,255,0.2), 0 0 0 20px rgba(108,99,255,0.05);
}
.ai-processor .logo-ring img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.ai-processor .logo-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(108,99,255,0.1) 50%, transparent 100%);
  transform: translateY(-100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ai-processor.scanning .logo-ring::after {
  opacity: 1;
  animation: scan-sweep 1.2s ease-in-out 2;
}
@keyframes scan-sweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.ai-processor .logo-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #6C63FF;
  letter-spacing: 0.02em;
}

.flow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 5;
}
.flow-arrow.visible { opacity: 1; }
.flow-arrow-left { left: 38%; width: calc(12% - 10px); }
.flow-arrow-right { right: 36%; width: calc(12% - 10px); }
.flow-arrow svg { width: 100%; height: auto; }

@keyframes flow-dash {
  to { stroke-dashoffset: -16; }
}
.flow-line-anim { animation: flow-dash 0.8s linear infinite; }

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
@keyframes particle-burst {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0); }
}
.particle.burst {
  animation: particle-burst 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-replay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(108,99,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  z-index: 20;
}
.anim-replay:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(108,99,255,0.15);
}
.anim-replay:active { transform: scale(0.95); }
.anim-replay:focus-visible { outline: 3px solid #6C63FF; outline-offset: 2px; }
.anim-replay.visible { opacity: 1; }

/* --- Hero animation: Tablet (768px–1024px) --- */
@media (max-width: 1024px) and (min-width: 768px) {
  .hero-anim-container { height: 500px; }
  .anim-col-left { width: 36%; }
  .anim-col-right { width: 40%; }
  .paper-sheet#paper1 { width: 170px; }
  .paper-sheet#paper2 { width: 115px; }
  .paper-sheet#paper3 { width: 160px; }
  .data-card { max-width: 185px; padding: 10px 12px; }
  .data-card .data-title { font-size: 9px; }
  .data-card .data-row { font-size: 9px; }
  .ai-processor .logo-ring { width: 68px; height: 68px; border-radius: 18px; }
  .ai-processor .logo-ring img { width: 46px; height: 46px; }
  .ai-processor .logo-label { font-size: 9px; }
  .flow-arrow-left { left: 34%; width: calc(13% - 10px); }
  .flow-arrow-right { right: 38%; width: calc(13% - 10px); }
}

/* --- Hero: Mobile — center text + scale animation --- */
@media (max-width: 767px) {
  #aidocs-hero { overflow: clip; }
  #aidocs-hero .fade-up:first-child {
    text-align: center;
  }
  #aidocs-hero .fade-up:first-child .section-label {
    justify-content: center;
    margin-top: 1.5rem;
  }
  #aidocs-hero .fade-up:first-child p {
    margin-left: auto;
    margin-right: auto;
  }
  #aidocs-hero .fade-up:first-child h1 {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  #aidocs-hero .flex.flex-wrap.gap-4 {
    justify-content: center;
  }
  #aidocs-hero .flex.flex-wrap.items-center.gap-3 {
    justify-content: center;
    flex-direction: column;
  }
  /* Clip the animation wrapper so its 640px child doesn't widen the page */
  #aidocs-hero .fade-up:last-child {
    overflow: hidden;
    max-width: 100%;
  }
  .hero-anim-container {
    width: 640px;
    height: 520px;
    transform: scale(0.55);
    transform-origin: top center;
    margin-left: calc(50% - 320px);
    margin-bottom: -234px;
  }
}

/* --- Page wrapper: prevent horizontal scroll --- */
.aidocs-landing { overflow-x: clip; }

/* --- Mockup section: Mobile static image --- */
.mockup-mobile-static {
  display: none;
}
@media (max-width: 767px) {
  .mockup-frame { display: none; }
  .mockup-mobile-static {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
      0 20px 60px rgba(13, 13, 26, 0.12),
      0 8px 24px rgba(108, 99, 255, 0.06),
      0 0 0 1px rgba(108,99,255,0.08);
  }
  .mockup-mobile-static img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* --- Mockup frame: Mobile adjustments --- */
@media (max-width: 640px) {
  .mockup-frame { border-radius: 14px; }
  .afr-app { height: 380px; }
  .afr-doc-header { padding: 8px 12px; gap: 8px; }
  .afr-doc-actions { flex-wrap: wrap; }
  .afr-action-delete, .afr-action-review { font-size: 0.6rem; padding: 4px 8px; }
  .afr-panel-form { padding: 10px; }
  .afr-pdf-toolbar { padding: 5px 8px; gap: 6px; }
}

/* --- Mockup frame: Tablet adjustments --- */
@media (max-width: 900px) and (min-width: 641px) {
  .afr-app { height: 460px; }
  .afr-panel-form { flex: 0 0 52%; padding: 12px; }
}

/* --- Powered by --- */
.powered-bar {
  border-top: 1px solid rgba(13,13,26,0.05);
  padding: 2rem 0;
  text-align: center;
}

/* --- Clean background --- */
.bg-clean { background: #FAFAFF; }

/* --- Animated counter --- */
.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* --- Video play button pulse --- */
@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,120,0.3); }
  50% { box-shadow: 0 0 0 16px rgba(255,0,120,0); }
}
.play-btn-pulse { animation: play-pulse 2.5s ease infinite; }

/* --- Subtle floating animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-slow { animation: float 6s ease-in-out infinite; }
.float-slower { animation: float 8s ease-in-out infinite; }

/* === AI Docs Full App Replica === */
.afr-app {
  display: flex;
  height: 580px;
  background: #f8f9fb;
  overflow: hidden;
}
@media (max-width: 768px) {
  .afr-app { height: 420px; }
}

/* --- Sidebar --- */
.afr-sidebar {
  width: 190px;
  min-width: 190px;
  background: linear-gradient(180deg, #eef0ff 0%, #f4f0ff 100%);
  border-right: 1px solid #e0ddf5;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 10px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .afr-sidebar { width: 46px; min-width: 46px; padding: 10px 6px; }
  .afr-sidebar .afr-sidebar-brand,
  .afr-sidebar .afr-nav-item span,
  .afr-sidebar .afr-user-details,
  .afr-sidebar .afr-sidebar-btn span,
  .afr-sidebar .afr-sidebar-collapse { display: none; }
  .afr-sidebar .afr-nav-item { justify-content: center; padding: 8px; }
  .afr-sidebar .afr-sidebar-btn { justify-content: center; padding: 7px; }
  .afr-sidebar .afr-sidebar-btn svg { margin: 0; }
  .afr-sidebar .afr-user-info { justify-content: center; }
}
@media (max-width: 640px) {
  .afr-sidebar { display: none; }
}
.afr-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}
.afr-sidebar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: #2d2b5e;
}
.afr-sidebar-collapse {
  width: 24px; height: 24px;
  border: 1px solid #d0cde8;
  border-radius: 6px;
  background: #fff;
  color: #6C63FF;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.afr-sidebar-collapse:hover { background: #eee; }
.afr-sidebar-collapse:focus-visible { outline: 2px solid #6C63FF; outline-offset: 1px; }
.afr-sidebar-collapse:active { transform: scale(0.92); }
.afr-sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.afr-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  color: #5a5880;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.afr-nav-item:hover { background: rgba(108,99,255,0.06); color: #3d3a6e; }
.afr-nav-item:focus-visible { outline: 2px solid #6C63FF; outline-offset: -1px; }
.afr-nav-item:active { transform: scale(0.98); }
.afr-nav-active {
  background: rgba(108,99,255,0.12);
  color: #4a44cc;
  font-weight: 600;
}
.afr-sidebar-bottom {
  border-top: 1px solid #d8d5ee;
  padding-top: 10px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.afr-user-info {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.afr-user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(108,99,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #6C63FF;
  flex-shrink: 0;
}
.afr-user-name { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; color: #2d2b5e; }
.afr-user-email { font-family: 'DM Sans', sans-serif; font-size: 0.6rem; color: #8a88a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.afr-sidebar-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #d8d5ee;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #5a5880;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.afr-sidebar-btn:hover { background: #f0eeff; }
.afr-sidebar-btn:focus-visible { outline: 2px solid #6C63FF; outline-offset: 1px; }
.afr-sidebar-btn:active { transform: scale(0.97); }
.afr-sidebar-btn-primary {
  background: linear-gradient(135deg, #6C63FF, #8b7aff);
  border-color: #6C63FF;
  color: #fff;
}
.afr-sidebar-btn-primary:hover { background: linear-gradient(135deg, #5b52ee, #7a6aee); }

/* --- Main area --- */
.afr-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* Document header */
.afr-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 18px 10px;
  background: #fff;
  border-bottom: 1px solid #ededf5;
  gap: 12px;
  flex-wrap: wrap;
}
.afr-doc-filename {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0D0D1A;
  margin: 0;
  line-height: 1.3;
}
@media (max-width: 640px) {
  .afr-doc-filename { font-size: 0.82rem; }
}
.afr-doc-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 3px;
}
.afr-doc-type {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: #7a7a9e;
}
.afr-doc-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: #7a7a9e;
}
.afr-doc-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: #e57c23;
  background: rgba(229,124,35,0.1);
  padding: 2px 8px;
  border-radius: 20px;
}
.afr-doc-actions {
  display: flex; gap: 8px; align-items: center; flex-shrink: 0;
}
.afr-action-delete {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #fcc;
  background: #fff5f5;
  color: #dc2626;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.afr-action-delete:hover { background: #fee; }
.afr-action-delete:focus-visible { outline: 2px solid #dc2626; outline-offset: 1px; }
.afr-action-delete:active { transform: scale(0.97); }
.afr-action-review {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #16a34a;
  background: #16a34a;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.afr-action-review:hover { background: #15803d; }
.afr-action-review:focus-visible { outline: 2px solid #16a34a; outline-offset: 2px; }
.afr-action-review:active { transform: scale(0.97); }

/* Split panels */
.afr-panels {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.afr-panel-form {
  flex: 0 0 48%;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(108,99,255,0.15) transparent;
}
.afr-panel-form::-webkit-scrollbar { width: 5px; }
.afr-panel-form::-webkit-scrollbar-track { background: transparent; }
.afr-panel-form::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.15); border-radius: 3px; }

.afr-panel-pdf {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ededf5;
  background: #f4f4fa;
  overflow: hidden;
}
@media (max-width: 640px) {
  .afr-panels { flex-direction: column; }
  .afr-panel-form { flex: none; max-height: 55%; }
  .afr-panel-pdf { flex: 1; border-left: none; border-top: 1px solid #ededf5; }
}

/* PDF toolbar */
.afr-pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: #fff;
  border-bottom: 1px solid #e8e8ef;
  flex-wrap: wrap;
}
.afr-pdf-nav {
  display: flex; align-items: center; gap: 6px;
}
.afr-pdf-page {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: #7a7a9e;
}
.afr-pdf-page strong { color: #0D0D1A; }
.afr-pdf-btn {
  width: 28px; height: 28px;
  border: 1px solid #e0e0ec;
  border-radius: 6px;
  background: #fff;
  color: #7a7a9e;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.afr-pdf-btn:hover { background: #f0f0f8; border-color: #c8c8d8; }
.afr-pdf-btn:focus-visible { outline: 2px solid #6C63FF; outline-offset: 1px; }
.afr-pdf-btn:active { transform: scale(0.93); }
.afr-pdf-btn-active { background: #6C63FF; border-color: #6C63FF; color: #fff; }
.afr-pdf-btn-active:hover { background: #5a52ee; }
.afr-pdf-tools { display: flex; gap: 4px; }
.afr-pdf-search { margin-left: auto; }
.afr-search-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  border: 1px solid #e0e0ec;
  border-radius: 6px;
  padding: 5px 10px;
  width: 100px;
  background: #fff;
  color: #7a7a9e;
  outline: none;
}
.afr-pdf-zoom {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: #fff;
  border-bottom: 1px solid #e8e8ef;
}
.afr-zoom-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0D0D1A;
  border: 1px solid #e0e0ec;
  border-radius: 5px;
  padding: 3px 8px;
  min-width: 32px;
  text-align: center;
}
.afr-zoom-pct {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: #7a7a9e;
  margin-right: 6px;
}

/* PDF document area */
.afr-pdf-document {
  flex: 1;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  padding: 16px;
  scrollbar-width: thin;
}
.afr-pdf-page-render {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  padding: 24px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  color: #222;
  line-height: 1.5;
}

/* Invoice simulation */
.afr-invoice-sim { }
.afr-inv-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.afr-inv-title { font-weight: 800; font-size: 0.82rem; text-align: center; margin-bottom: 6px; }
.afr-inv-company { font-weight: 600; font-size: 0.62rem; margin-bottom: 2px; }
.afr-inv-addr { font-size: 0.58rem; color: #444; line-height: 1.45; }
.afr-inv-right { text-align: right; }
.afr-inv-num { font-size: 0.65rem; font-weight: 500; margin-bottom: 2px; }
.afr-inv-date { font-size: 0.6rem; color: #555; margin-bottom: 8px; }
.afr-inv-logo-placeholder { margin-left: auto; margin-bottom: 6px; }
.afr-inv-client-box {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 0.6rem;
  margin-bottom: 10px;
  line-height: 1.5;
}
.afr-inv-client-label { font-weight: 700; margin-bottom: 2px; }
.afr-inv-payment {
  font-size: 0.56rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.5;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
.afr-inv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.58rem;
}
.afr-inv-table th {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 4px 6px;
  font-weight: 700;
  text-align: left;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.afr-inv-table td {
  border: 1px solid #eee;
  padding: 5px 6px;
  vertical-align: top;
}

/* --- Form card (reused) --- */
.afr-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8ef;
  box-shadow: 0 2px 12px rgba(13,13,26,0.05), 0 0 0 1px rgba(108,99,255,0.03);
  padding: 16px 18px;
}

.afr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.afr-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0D0D1A;
  margin: 0;
}
.afr-font-btns { display: flex; gap: 4px; }
.afr-font-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid #d8d8e4;
  border-radius: 6px;
  background: #fff;
  color: #5a5a7a;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.afr-font-btn:hover { background: #f0f0f8; border-color: #bbb; }
.afr-font-btn:focus-visible { outline: 2px solid #6C63FF; outline-offset: 1px; }
.afr-font-btn:active { transform: scale(0.96); }

.afr-extraction-info {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.73rem;
  color: #9898b4;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ededf5;
}

/* Sections */
.afr-section {
  border-top: 1px solid #ededf5;
}
.afr-section:last-child {
  border-bottom: none;
}
.afr-section-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.afr-section-header:hover { opacity: 0.75; }
.afr-section-header:focus-visible { outline: 2px solid #6C63FF; outline-offset: 2px; border-radius: 4px; }
.afr-section-header:active { opacity: 0.6; }

.afr-section-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.afr-section-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.1);
  flex-shrink: 0;
}
.afr-section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #0D0D1A;
}
.afr-chevron {
  color: #b0b0c8;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
}
.afr-section-open .afr-chevron { transform: rotate(0deg); }
.afr-section:not(.afr-section-open) .afr-chevron { transform: rotate(-90deg); }

.afr-section-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 0;
}
.afr-section-open .afr-section-body {
  max-height: 600px;
  opacity: 1;
  padding: 0 0 14px 0;
}

/* Fields */
.afr-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.afr-row:last-child { margin-bottom: 0; }
.afr-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.afr-col-3 { flex: 0 0 calc(25% - 9px); }
.afr-col-4 { flex: 0 0 calc(33.333% - 8px); }
.afr-col-6 { flex: 0 0 calc(50% - 6px); }
.afr-col-12 { flex: 0 0 100%; }

@media (max-width: 640px) {
  .afr-col-3, .afr-col-4, .afr-col-6 { flex: 0 0 100%; }
}

.afr-field label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #7a7a9e;
  letter-spacing: 0.01em;
}
.afr-field input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #0D0D1A;
  border: 1px solid #e0e0ec;
  border-radius: 7px;
  padding: 7px 10px;
  background: #fafaff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}
.afr-field input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.1);
}
.afr-input-highlight {
  background: rgba(168,85,247,0.06) !important;
  border-color: rgba(168,85,247,0.3) !important;
  font-weight: 600 !important;
  color: #6C63FF !important;
}

/* Table */
.afr-table-wrap {
  overflow-x: auto;
  border: 1px solid #e8e8ef;
  border-radius: 8px;
  margin-bottom: 8px;
}
.afr-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
}
.afr-table thead th {
  background: #f4f4fa;
  color: #7a7a9e;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 8px;
  text-align: left;
  border-bottom: 1px solid #e0e0ec;
  white-space: nowrap;
}
.afr-table tbody td {
  padding: 5px 6px;
  border-bottom: 1px solid #f0f0f8;
  vertical-align: middle;
}
.afr-table tbody tr:last-child td { border-bottom: none; }
.afr-table tbody td input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #0D0D1A;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px 6px;
  background: transparent;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.afr-table tbody td input:focus {
  border-color: #a855f7;
  background: #fafaff;
}

.afr-delete-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  color: #c8c8d8;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}
.afr-delete-btn:hover { color: #ef4444; background: rgba(239,68,68,0.08); }
.afr-delete-btn:focus-visible { outline: 2px solid #ef4444; outline-offset: 1px; }
.afr-delete-btn:active { transform: scale(0.92); }

.afr-add-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #a855f7;
  background: none;
  border: 1px dashed rgba(168,85,247,0.3);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.afr-add-row:hover { background: rgba(168,85,247,0.04); border-color: rgba(168,85,247,0.5); }
.afr-add-row:focus-visible { outline: 2px solid #a855f7; outline-offset: 2px; }
.afr-add-row:active { transform: scale(0.98); }

/* === Mautic form overrides === */
.mauticform_wrapper { max-width: 100%; margin: 0; }
.mauticform-row { display: block; margin-bottom: 16px; }
.mauticform-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3D3D5C;
  display: block;
  margin-bottom: 6px;
}
.mauticform-row.mauticform-required .mauticform-label:after {
  color: #FF0078;
  content: " *";
}
.mauticform-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(13,13,26,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #0D0D1A;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}
.mauticform-input::placeholder { color: rgba(122,122,158,0.5); }
.mauticform-input:focus {
  border-color: rgba(255,0,120,0.3);
  box-shadow: 0 0 0 3px rgba(255,0,120,0.08);
}
.mauticform-errormsg {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 4px;
}
.mauticform-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #dc2626;
  margin-bottom: 10px;
}
.mauticform-message {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #22c55e;
  margin-bottom: 10px;
}
.mauticform-checkboxgrp-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.mauticform-checkboxgrp-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #FF0078;
  flex-shrink: 0;
  cursor: pointer;
}
.mauticform-checkboxgrp-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #7A7A9E;
  line-height: 1.5;
  cursor: pointer;
}
.mauticform-checkboxgrp-label a {
  color: #6C63FF;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.mauticform-checkboxgrp-label a:hover {
  color: #FF0078;
}
.mauticform-checkboxgrp .mauticform-label { display: none; }
.mauticform-button-wrapper { margin-top: 4px; }
.mauticform-button-wrapper .mauticform-button {
  width: 100%;
}
