/* Shared conversion and motion layer for the bilingual AI offer pages. */

.hero-ctas {
  flex-wrap: nowrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-secondary {
  padding-inline: 24px;
}

.hero-price-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hero-price-link::after {
  content: '\2193';
  transition: transform 180ms ease;
}

.hero-price-link:hover::after {
  transform: translateY(3px);
}

.visual-card .vc-item {
  opacity: 0;
  transform: translateY(10px);
  animation: offerItemIn 520ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.visual-card .vc-item:nth-of-type(2) { animation-delay: 180ms; }
.visual-card .vc-item:nth-of-type(3) { animation-delay: 300ms; }
.visual-card .vc-item:nth-of-type(4) { animation-delay: 420ms; }

.visual-card .vc-status {
  position: relative;
  padding-left: 21px;
}

.visual-card .vc-status::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  animation: offerLivePulse 2.2s ease-in-out infinite;
}

@keyframes offerItemIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes offerLivePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.08); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

/* Pricing console */
.pricing-section {
  padding-block: 100px;
}

.pricing-console {
  display: grid;
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  gap: 24px;
  margin-top: 46px;
  align-items: start;
}

.pricing-tabs {
  display: grid;
  gap: 9px;
  position: sticky;
  top: 92px;
}

.pricing-tab {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 3px 12px;
  width: 100%;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.pricing-tab:hover {
  border-color: rgba(220,180,106,0.5);
  transform: translateX(3px);
}

.pricing-tab[aria-selected='true'] {
  border-color: var(--accent);
  background: rgba(220,180,106,0.09);
  box-shadow: inset 3px 0 0 var(--accent);
}

.pricing-tab-index {
  grid-row: 1 / 3;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  padding-top: 3px;
}

.pricing-tab strong {
  font-size: 14px;
  line-height: 1.25;
}

.pricing-tab small {
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.4;
}

.pricing-panels {
  min-width: 0;
}

.pricing-panels .price-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 4vw, 48px);
  min-height: 520px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 8px;
  animation: offerPanelIn 420ms cubic-bezier(.22, 1, .36, 1) both;
}

.pricing-panels .price-card[hidden] {
  display: none !important;
}

.pricing-panels .price-card:hover {
  transform: none;
}

.price-summary {
  align-self: center;
}

.price-summary .pc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(220,180,106,0.45);
  border-radius: 8px;
  background: rgba(220,180,106,0.09);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 800;
}

.price-summary .pc-desc {
  max-width: 390px;
}

.price-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-left: clamp(24px, 4vw, 44px);
  border-left: 1px solid var(--border);
}

.pc-includes-label {
  margin-bottom: 13px;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-detail .pc-includes {
  margin-bottom: 18px;
}

.pc-scope-note {
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(220,180,106,0.16);
  border-radius: 6px;
  background: rgba(220,180,106,0.06);
  color: var(--text-body);
  font-size: 12.5px;
  line-height: 1.6;
}

.pc-scope-note strong,
.pc-scope-note a {
  color: var(--accent-light);
}

.price-detail .pc-cta {
  margin-top: auto;
}

@keyframes offerPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Interactive delivery timeline */
.process-section {
  position: relative;
  overflow: hidden;
  padding-block: 100px;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 52px;
}

.process-steps::before,
.process-steps::after {
  content: '';
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 2px;
  transform-origin: left;
}

.process-steps::before {
  background: rgba(255,255,255,0.10);
}

.process-steps::after {
  background: linear-gradient(90deg, var(--accent), #70A7E8, #5FBF93);
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.process-section.is-visible .process-steps::after {
  transform: scaleX(1);
}

.process-steps .step {
  position: relative;
  z-index: 1;
  padding: 0 8px 0 0;
  text-align: left;
  opacity: 1;
  transform: none;
}

.process-section.motion-ready .step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1);
}

.process-section.motion-ready.is-visible .step {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--step-index, 0) * 120ms + 120ms);
}

.process-steps .step-num {
  width: 48px;
  height: 48px;
  margin: 0 0 20px;
  border: 1px solid rgba(220,180,106,0.42);
  background: #0B0F1A;
  color: var(--accent-light);
  box-shadow: 0 0 0 8px var(--bg-warm);
}

.process-steps .step h3 {
  font-size: 17px;
}

.step-output {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 700;
}

.step-output::before {
  content: '';
  width: 16px;
  height: 1px;
  background: currentColor;
}

/* Real-operations proof */
.proof-section {
  padding-block: 100px;
}

.proof-console {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 6vw, 72px);
  margin-top: 46px;
  align-items: stretch;
}

.proof-feed {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(0,0,0,0.24);
}

.proof-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 700;
}

.proof-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.proof-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: offerLivePulse 2.2s ease-in-out infinite;
}

.proof-event {
  display: grid;
  grid-template-columns: 20px minmax(105px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  opacity: 1;
  transform: none;
}

.proof-event:last-child {
  border-bottom: 0;
}

.proof-section.motion-ready .proof-event {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(.22, 1, .36, 1);
}

.proof-section.motion-ready.is-visible .proof-event {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(var(--event-index, 0) * 130ms + 100ms);
}

.proof-marker {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--event-color, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--event-color, var(--accent)) 12%, transparent);
}

.proof-cycle {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-event-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 14px;
}

.proof-event-copy p {
  color: var(--text-body);
  font-size: 12.5px;
  line-height: 1.65;
}

.proof-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}

.proof-summary-label {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-summary h3 {
  margin-bottom: 24px;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.2;
}

.proof-summary-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.proof-summary-list li {
  position: relative;
  padding: 0 0 16px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.55;
}

.proof-summary-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* Compact progressive conversion form */
.cta-section {
  padding-block: 100px;
}

.cta-shell {
  gap: clamp(42px, 6vw, 72px);
  align-items: center;
}

.consult-panel {
  border-radius: 8px;
}

.form-more {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 5px;
}

.form-more summary {
  padding: 12px 0;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.form-more summary::-webkit-details-marker {
  display: none;
}

.form-more summary::after {
  content: '+';
  float: right;
  font-size: 18px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.form-more[open] summary::after {
  transform: rotate(45deg);
}

.form-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 8px;
}

.form-more-grid .full {
  grid-column: 1 / -1;
}

.faq-q:focus-visible,
.pricing-tab:focus-visible,
.role:focus-visible,
.form-more summary:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .pricing-console {
    grid-template-columns: 1fr;
  }

  .pricing-tabs {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 9px;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .pricing-tabs::-webkit-scrollbar { display: none; }

  .pricing-tab {
    flex: 0 0 230px;
  }

  .pricing-panels .price-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .price-detail {
    padding: 25px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .ready .stage {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    gap: 32px;
    padding-top: 34px;
  }

  .hero-visual {
    order: initial;
  }

  .hero-ctas {
    flex-wrap: wrap;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 38px;
    padding-left: 0;
  }

  .process-steps::before,
  .process-steps::after {
    top: 24px;
    bottom: 28px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    transform-origin: top;
  }

  .process-steps::after {
    transform: scaleY(0);
  }

  .process-section.is-visible .process-steps::after {
    transform: scaleY(1);
  }

  .process-steps .step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0 0 34px;
  }

  .process-steps .step-num {
    grid-row: 1 / 5;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .process-steps .step h3,
  .process-steps .step p,
  .process-steps .step .step-output {
    grid-column: 2;
  }

  .step-output {
    margin-top: 10px;
  }

  .proof-console {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .proof-summary {
    padding: 0;
  }

  .cta-shell {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 24px 20px 28px;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    line-height: 1.55;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 14.5px;
    line-height: 1.58;
    margin-bottom: 20px;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 11px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    padding: 14px 18px;
    justify-content: center;
  }

  .hero-price-link {
    margin-bottom: 16px;
  }

  .hero .trust-line {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .hero-visual {
    display: none;
  }

  .pricing-section,
  .process-section,
  .proof-section,
  .cta-section {
    padding: 72px 20px;
  }

  .pricing-console {
    margin-top: 34px;
  }

  .pricing-tabs {
    margin-right: -20px;
    padding-right: 20px;
  }

  .pricing-tab {
    flex-basis: 205px;
    padding: 14px;
  }

  .pricing-panels .price-card {
    padding: 24px 22px;
    border-radius: 8px;
  }

  .price-summary .pc-price,
  .price-summary .pc-price.price-single-line {
    white-space: normal;
    font-size: 31px;
  }

  .ready {
    padding: 68px 20px;
  }

  .ready .head p {
    font-size: 14px;
    line-height: 1.62;
  }

  .ready .integrations {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding-right: 20px;
    border-radius: 8px 0 0 8px;
    scrollbar-width: none;
  }

  .ready .integrations::-webkit-scrollbar { display: none; }
  .ready .integrations > * { flex: 0 0 auto; }

  .ready .legend {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
  }

  .ready .roles {
    margin-inline: -20px;
    padding: 0 20px 7px;
    scroll-snap-type: x proximity;
  }

  .ready .role {
    min-width: 230px;
    scroll-snap-align: start;
    border-radius: 8px;
  }

  .ready .showcase {
    gap: 16px;
  }

  .ready .stage {
    border-radius: 8px;
  }

  .ready .stage-info {
    padding: 20px;
  }

  .ready .stage-info .desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .ready .tasks {
    margin-block: 16px;
  }

  .ready .tasks li:nth-child(n+3),
  .ready .statusrow .chip:nth-child(n+2),
  .ready .cta-row .btn-out {
    display: none;
  }

  .ready .btn-acc {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }

  .ready .employee-catalog-note {
    padding: 15px;
    border-radius: 8px;
    font-size: 12.5px;
  }

  .proof-event {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 9px 12px;
    padding: 18px 16px;
  }

  .proof-cycle,
  .proof-event-copy {
    grid-column: 2;
  }

  .proof-marker {
    grid-row: 1 / 3;
  }

  .proof-summary h3 {
    font-size: 24px;
  }

  .cta-copy p {
    font-size: 14.5px;
  }

  .consult-panel {
    padding: 22px;
  }

  .form-more-grid {
    grid-template-columns: 1fr;
  }

  .form-more-grid .full {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .process-section.motion-ready .step,
  .proof-section.motion-ready .proof-event {
    opacity: 1;
    transform: none;
  }
}
