/* =============================================
   OVERVIEW SECTION — Premium Feature Grid
   Brand: #ff7704 (Primary) · #161616 (Black) · #fafbfd (BG)
   ============================================= */

* {
  box-sizing: border-box;
}

:root {
  /* UlapBiz Design System */
  --clr-primary: #ff7704;
  --clr-primary-light: #ff9933;
  --clr-primary-pale: #fff5eb;
  --clr-primary-dark: #e66000;
  --clr-black: #161616;
  --clr-white: #ffffff;
  --clr-bg: #fafbfd;
  --clr-ink-muted: #6b7280;
  --clr-border: rgba(22, 22, 22, 0.1);

  --ff-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-content: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-alt: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --fs-hero: 3rem; /* 48px */
  --fs-section: 2rem; /* 32px */
  --fs-content: 1rem; /* 16px */
  --fs-small: 0.875rem; /* 14px */

  --radius-lg: 16px;
  --radius-md: 12px;

  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview {
  position: relative;
  padding: 140px 0;
  background: var(--clr-bg);
  width: 100%;
  overflow: hidden;
}

/* ── Ambient background ── */
.ov-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ov-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.ov-bg__blob--1 {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 119, 4, 0.55) 0%, transparent 70%);
  animation: ovBlob 14s ease-in-out infinite;
}

.ov-bg__blob--2 {
  width: 480px;
  height: 480px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(22, 22, 22, 0.25) 0%, transparent 70%);
  animation: ovBlob 11s ease-in-out infinite reverse;
}

@keyframes ovBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(28px, -22px) scale(1.06); }
}

.ov-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 22, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 22, 22, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  opacity: 0.9;
}

.ov-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Section header (used by Integrate section) */
.ov-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 72px;
}

.ov-title {
  font-family: var(--ff-primary);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--clr-black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ov-desc {
  font-family: var(--ff-content);
  font-size: 1.0625rem;
  color: var(--clr-ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===================================================
   BENTO GRID
   =================================================== */
.ov-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 20px;
}

.ov-card { grid-column: span 12; }

@media (min-width: 720px) {
  [data-bento="featured"] { grid-column: span 12; grid-row: span 2; }
}

/* ── Base card ── */
.ov-card {
  position: relative;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
  isolation: isolate;
}

.ov-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 119, 4, 0.12);
  border-color: rgba(255, 119, 4, 0.25);
}

/* Shine sweep on hover */
.ov-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.ov-card:hover .ov-card-shine { transform: translateX(100%); }

/* ===================================================
   FEATURED CAROUSEL CARD
   =================================================== */
.ov-card--featured {
  background: linear-gradient(135deg, #0f0f10 0%, #1f1f22 55%, #2a1a0a 100%);
  color: var(--clr-white);
  min-height: 560px;
  border: none;
}

.ov-card--featured::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(255, 119, 4, 0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.ov-card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 20%, transparent 80%);
}

.ov-card--featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Carousel */
.ov-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 28px 22px;
}

.ov-carousel-track {
  position: relative;
  flex: 1;
  min-height: 0;
}

.ov-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 28px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.ov-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ov-slide-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ov-slide-title {
  font-family: var(--ff-primary);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.ov-slide-desc {
  font-family: var(--ff-content);
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
}

.ov-slide-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-details-label {
  display: block;
  font-family: var(--ff-alt);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.ov-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ov-details-list li {
  font-family: var(--ff-content);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}

.ov-details-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-primary);
}

.ov-slide-actions {
  margin-top: 2rem;
}

.ov-btn--preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 12px 24px;
  border-radius: 3px;
  font-family: var(--ff-alt);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 119, 4, 0.25);
}

.ov-btn--preview:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 119, 4, 0.4);
}

.ov-btn--preview svg {
  transition: transform 0.3s ease;
}

.ov-btn--preview:hover svg {
  transform: translateX(4px);
}

.ov-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  /* The parent .ov-slide uses align-items: center, so without this
     override the visual cell would size to the image's natural intrinsic
     dimensions — a tall PNG (e.g. FORMS.png stacked-paper graphic) would
     overflow the slide and warp the layout. Stretch to the row height. */
  align-self: stretch;
  min-height: 0;
  min-width: 0;
}

.ov-slide-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ov-slide-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Carousel controls */
.ov-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-carousel-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.ov-carousel-btn:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  transform: scale(1.08);
}

.ov-carousel-btn:active { transform: scale(0.96); }

.ov-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ov-dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.35s ease, background 0.25s ease;
}

.ov-dot.is-active {
  width: 28px;
  background: var(--clr-primary);
}

/* ===================================================
   BIR FORM MODAL
   =================================================== */
.bir-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bir-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.bir-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.75);
  backdrop-filter: blur(4px);
}

.bir-modal__container {
  position: relative;
  width: 90vw;
  max-width: 900px;
  height: 85vh;
  background: #161616; /* Dark background for the whole container */
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bir-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #161616;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bir-modal__title {
  font-size: 16px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 16px;
}

.bir-modal__close {
  position: static; /* Override absolute positioning */
  width: auto;
  height: auto;
  border-radius: 4px;
  background: transparent;
  color: var(--clr-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.bir-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-primary);
}

.bir-modal__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: #222;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bir-modal__toolbar-left,
.bir-modal__toolbar-center,
.bir-modal__toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bir-modal__tool-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.bir-modal__tool-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.bir-modal__nav {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.bir-modal__nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.bir-modal__nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bir-modal__page {
  color: #fff;
  font-size: 14px;
  min-width: 40px;
  text-align: center;
}

.bir-modal__content {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: none;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #525659;
  overflow: auto;
  padding: 20px 0;
}

/* Stacked-page container — one <canvas> per PDF page, vertically scrollable.
   Wrapper inside .bir-modal__content so multi-page forms (e.g. 1701A) show
   every page without breaking the modal layout. */
.bir-modal__pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.bir-modal__pages canvas {
  max-width: calc(100% - 32px);
  height: auto;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.bir-modal__pages-empty {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--ff-content, "Inter", sans-serif);
  font-size: 0.95rem;
  padding: 24px;
}



@media (max-width: 768px) {
  .overview { padding: 80px 0; }
  .ov-slide {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .ov-slide-copy { align-items: center; }
  .ov-details-list li { text-align: left; }
  .ov-carousel-controls { justify-content: center; gap: 32px; }
}

.ov-card--wide:hover .ov-cal-cell { transform: scale(1.02); }

.ov-cal-cell.is-holiday {
  background: var(--clr-primary-pale);
  color: var(--clr-primary);
  border: 1px solid rgba(255, 119, 4, 0.3);
}

.ov-cal-dot {
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-primary);
}

/* ===================================================
   CTA CARD (prominent)
   =================================================== */
.ov-card--cta {
  background: linear-gradient(135deg, #161616 0%, #2a2a2a 100%);
  border: 1px solid rgba(255, 119, 4, 0.25);
  color: var(--clr-white);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  min-height: 260px;
}

.ov-card-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 119, 4, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(255, 119, 4, 0.12) 0%, transparent 50%);
}

.ov-card--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, #000 0%, transparent 80%);
}

.ov-card--cta .ov-card-body {
  padding: 36px;
  max-width: 640px;
}

.ov-card--cta .ov-card-title {
  color: var(--clr-white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.ov-card--cta .ov-card-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.ov-card-badge--light {
  color: var(--clr-primary-light);
  background: rgba(255, 119, 4, 0.14);
  border-color: rgba(255, 119, 4, 0.3);
}

.ov-card--cta .ov-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.ov-link {
  font-family: var(--ff-content);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  border-radius: 100px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ov-link:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
  transform: translateY(-2px);
}

.ov-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-content);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  background: var(--clr-primary);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 3px;
  margin-top: 10px;
  box-shadow: 0 12px 26px rgba(255, 119, 4, 0.35);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ov-cta-btn:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(255, 119, 4, 0.45);
}

.ov-cta-btn--secondary {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  box-shadow: none;
  margin-left: 12px;
}

.ov-cta-btn--secondary:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 12px 26px rgba(255, 119, 4, 0.35);
}

.ov-cta-btn--gemini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-content);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(90deg, #078EFA, #9177C7, #AD89EB);
  background-size: 200% 100%;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 3px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(7, 142, 250, 0.25);
  transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ov-cta-btn--gemini:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(7, 142, 250, 0.35);
  background-position: 100% 0;
  border-color: rgba(255, 255, 255, 0.3);
}

.ov-cta-btn--gemini .ov-cta-btn-arrow {
  background: rgba(255, 255, 255, 0.2);
  width: 26px;
  height: 26px;
}

.ov-cta-btn--gemini:hover .ov-cta-btn-arrow {
  background: #80DEEA;
  color: #0D0D0D;
}

/* Gemini Signature Card */
.ov-card--gemini {
  background: linear-gradient(135deg, #4285f4 0%, #9b72cb 50%, #d96570 100%) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 25px 50px -12px rgba(155, 114, 203, 0.35) !important;
}

.ov-card--gemini .ov-card-cta-bg {
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  opacity: 0.6;
}

.ov-card--gemini .ov-card-title {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem) !important;
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.ov-card--gemini .ov-card-desc {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem !important;
  line-height: 1.5;
  max-width: 100%;
}

.ov-card--gemini .ov-cta-btn {
  background: white !important;
  color: #9b72cb !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  border-radius: 100px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
  margin-top: auto;
}

.ov-card--gemini .ov-cta-btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.ov-card-icon-wrap {
  margin-bottom: 20px;
}

.ov-gemini-icon {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  stroke: white;
}

/* ── Specific card adjustments ── */

.ov-cta-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.ov-cta-btn:hover .ov-cta-btn-arrow { transform: translateX(4px); }

/* ===================================================
   INTEGRATE CARD (split layout variant)
   Width/height match UlapPayroll's integrate card 1:1 —
   keep these in sync with /UlapPayroll/assets/css/overview.css.
   =================================================== */
#integrate .ov-card--integrate[data-bento="cta"] {
  grid-column: span 12;
}

.ov-integrate-body {
  position: relative;
  z-index: 2;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: stretch;
}

.ov-integrate-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 580px;
}

.ov-integrate-copy .ov-card-title {
  font-family: var(--ff-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--clr-white);
}

.ov-integrate-copy .ov-card-desc {
  font-family: var(--ff-content);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.ov-integrate-copy .ov-card-badge {
  align-self: flex-start;
}

.ov-integrate-copy .ov-cta-btn {
  align-self: flex-start;
  padding: 14px 26px;
  font-size: 1rem;
  margin-top: 8px;
}

.ov-integrate-copy .ov-cta-btn--secondary {
  margin-left: 0;
  margin-top: 6px;
}

.ov-integrate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-content: center;
}

.ov-integrate-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: var(--clr-white);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.ov-integrate-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 119, 4, 0.18), rgba(255, 119, 4, 0) 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ov-integrate-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 119, 4, 0.45);
  transform: translateY(-2px);
}

.ov-integrate-tile:hover::before {
  opacity: 1;
}

.ov-integrate-tile-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 119, 4, 0.16);
  color: var(--clr-primary-light);
  flex-shrink: 0;
  border: 1px solid rgba(255, 119, 4, 0.22);
}

.ov-integrate-tile-icon svg {
  width: 22px;
  height: 22px;
}

.ov-integrate-tile-icon .material-symbols-outlined {
  font-size: 28px;
  line-height: 1;
}

.ov-integrate-tile-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.ov-integrate-tile-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-white);
  letter-spacing: -0.005em;
}

.ov-integrate-tile-tag {
  font-family: var(--ff-content);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.ov-integrate-tile-arrow {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.ov-integrate-tile:hover .ov-integrate-tile-arrow {
  color: var(--clr-primary-light);
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .ov-card--integrate {
    min-height: 0;
  }
  .ov-integrate-body {
    grid-template-columns: 1fr;
    padding: 44px;
    gap: 36px;
  }
  .ov-integrate-copy { max-width: none; }
  .ov-integrate-copy .ov-card-title { font-size: 1.7rem; }
}

@media (max-width: 520px) {
  .ov-integrate-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ov-integrate-body { padding: 28px; gap: 26px; }
  .ov-integrate-copy .ov-card-title { font-size: 1.45rem; }
  .ov-integrate-copy .ov-card-desc { font-size: 0.98rem; }
  .ov-integrate-tile { padding: 18px; gap: 14px; }
  .ov-integrate-tile-icon { width: 46px; height: 46px; }
  .ov-integrate-tile-icon svg { width: 22px; height: 22px; }
  .ov-integrate-tile-name { font-size: 1rem; }
  .ov-integrate-tile-tag { font-size: 0.82rem; }
}



/* ===================================================
   REVEAL STATES
   =================================================== */
.overview .is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .overview { padding: 100px 0; }
  .ov-slide { grid-template-columns: 1fr; gap: 18px; }
  .ov-slide-visual { order: -1; }
  .ov-slide-frame { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .overview { padding: 80px 0; }
  .ov-header { margin-bottom: 48px; }
  .ov-grid { gap: 16px; }
  .ov-card-body { padding: 1.25rem; }
  .ov-card--featured { min-height: auto; }
  .ov-carousel { padding: 20px; gap: 18px; }
  .ov-carousel-track { flex: 0 0 auto; }
  .ov-slide { position: relative; inset: auto; gap: 16px; transform: none; }
  .ov-slide:not(.is-active) { display: none; }
  .ov-slide.is-active { transform: none; }
  .ov-slide-copy { gap: 10px; }
  .ov-slide-title { font-size: 1.15rem; }
  .ov-slide-desc { font-size: 0.9rem; line-height: 1.55; }
  .ov-slide-stats { gap: 18px; padding-top: 14px; }
  .ov-stat-num { font-size: 1.2rem; }
  .ov-carousel-controls { padding-top: 16px; margin-top: 4px; }
  .ov-card--cta .ov-card-body { padding: 28px; }
  .ov-card-orbit { width: 120px; height: 120px; right: -40px; bottom: -40px; }
}

@media (max-width: 480px) {
  .ov-carousel { padding: 16px; }
  .ov-slide-frame { aspect-ratio: 16 / 10; border-radius: 16px; }
  .ov-slide-chip { font-size: 0.65rem; padding: 4px 10px; }
  .ov-slide-title { font-size: 1.05rem; }
  .ov-carousel-controls { gap: 8px; padding-top: 14px; }
  .ov-carousel-btn { width: 36px; height: 36px; }
  .ov-dot { width: 7px; height: 7px; }
  .ov-dot.is-active { width: 22px; }
}

.testimonials {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--clr-bg) 0%, #ffffff 100%);
}

.ts-inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.ts-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.ts-title {
  font-family: var(--ff-primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--clr-black);
  margin: 0 0 12px;
}

.ts-sub {
  font-family: var(--ff-content);
  font-size: 1rem;
  color: var(--clr-ink-muted);
  line-height: 1.7;
  margin: 0;
}

.ts-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.ts-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 28px;
}

.ts-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(22, 22, 22, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ts-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(22, 22, 22, 0.08);
  border-color: rgba(255, 119, 4, 0.22);
}

.ts-card--tall {
  padding: 34px;
}

.ts-stars {
  font-family: var(--ff-alt);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
}

.ts-quote {
  font-family: var(--ff-content);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--clr-black);
  margin: 0;
}

.ts-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.ts-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--clr-primary-pale);
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-alt);
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 119, 4, 0.22);
}

.ts-name {
  font-family: var(--ff-primary);
  font-weight: 800;
  color: var(--clr-black);
  font-size: 0.98rem;
  line-height: 1.2;
}

.ts-role {
  font-family: var(--ff-content);
  font-size: 0.9rem;
  color: var(--clr-ink-muted);
  margin-top: 4px;
}

.faq {
  padding: 120px 0;
  background: #ffffff;
}

.faq-inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.faq-title {
  font-family: var(--ff-primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--clr-black);
  margin: 0 0 12px;
}

.faq-sub {
  font-family: var(--ff-content);
  color: var(--clr-ink-muted);
  line-height: 1.7;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: var(--clr-white);
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(22, 22, 22, 0.06);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 14px 34px rgba(22, 22, 22, 0.08);
  border-color: rgba(22, 22, 22, 0.1);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-family: var(--ff-primary);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(22, 22, 22, 0.72);
  text-align: left;
}

.faq-q:focus-visible {
  outline: 3px solid rgba(255, 119, 4, 0.28);
  outline-offset: -3px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: transparent;
  border: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.faq-icon .faq-icon-vert {
  transform-origin: 50% 50%;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon .faq-icon-vert {
  transform: scaleY(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-a-inner {
  padding: 0 28px 26px;
  font-family: var(--ff-content);
  color: var(--clr-ink-muted);
  line-height: 1.75;
}

#faq-a-8 .faq-a-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#faq-a-8 .ov-cta-btn {
  margin-top: 0;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  #faq-a-8 .faq-a-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #faq-a-8 .ov-cta-btn {
    align-self: center;
    margin-top: 15px;
  }
}

@media (max-width: 1200px) {
  .ts-inner,
  .faq-inner {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .ts-grid {
    grid-template-columns: 1fr;
  }
  .ts-stack {
    grid-template-rows: auto;
  }
}
