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

: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: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-primary: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-content: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-alt: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: "Roboto", -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); }
}

@keyframes geminiShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.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;
}

/* ── Section Background Varieties ── */

/* Features: gradient only, no tile */
#features .ov-bg__grid {
  background-image: none;
  mask-image: none;
  -webkit-mask-image: none;
}
#features .ov-bg__blob--1 {
  background: radial-gradient(circle, rgba(255, 119, 4, 0.45) 0%, transparent 70%);
  width: 700px;
  height: 700px;
  top: -220px;
  right: -180px;
}
#features .ov-bg__blob--2 {
  background: radial-gradient(circle, rgba(255, 153, 51, 0.3) 0%, transparent 70%);
  width: 550px;
  height: 550px;
  bottom: -200px;
  left: -150px;
}

/* Sub-features: dots pattern instead of grid */
#sub-features .ov-bg__grid {
  background-image: radial-gradient(circle, rgba(22, 22, 22, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: none;
  -webkit-mask-image: none;
}
#sub-features .ov-bg__blob--1 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
}
#sub-features .ov-bg__blob--2 {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
}

/* Add-on features: diagonal lines + purple blobs */
#addon-features .ov-bg__grid {
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 14px,
      rgba(22, 22, 22, 0.025) 14px,
      rgba(22, 22, 22, 0.025) 15px
    );
  background-size: auto;
  mask-image: none;
  -webkit-mask-image: none;
}
#addon-features .ov-bg__blob--1 {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
}
#addon-features .ov-bg__blob--2 {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
}

/* Integrate: larger grid + teal blobs */
#integrate .ov-bg__grid {
  background-image:
    linear-gradient(rgba(22, 22, 22, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 22, 22, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: none;
  -webkit-mask-image: none;
}
#integrate .ov-bg__blob--1 {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, transparent 70%);
}
#integrate .ov-bg__blob--2 {
  background: radial-gradient(circle, rgba(94, 234, 212, 0.2) 0%, transparent 70%);
}

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

.ov-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 72px;
}

.ov-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-alt);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-pale);
  border: 1px solid rgba(255, 119, 4, 0.22);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.ov-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 0 0 rgba(255, 119, 4, 0.55);
  animation: ovPulse 2s ease-out infinite;
}

@keyframes ovPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 119, 4, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 119, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 119, 4, 0); }
}

.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-title-accent {
  background: linear-gradient(120deg, var(--clr-primary) 0%, var(--clr-primary-light) 60%, var(--clr-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* Force a hard line break between sentences in section descriptions
   without relying on browser-specific <br> rendering. */
.ov-desc-line {
  display: block;
}

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

/* Default placement for md screens */
.ov-card { grid-column: span 12; }

@media (min-width: 720px) {
  [data-bento="featured"] { grid-column: span 12; grid-row: span 2; }
  [data-bento="ulapbai"]  { grid-column: span 6; }
  [data-bento="reports"]  { grid-column: span 6; }
  [data-bento="selfie"]   { grid-column: span 6; }
  [data-bento="tax"]      { grid-column: span 6; }
  [data-bento="disbursement"] { grid-column: span 6; }
  [data-bento="holiday"]  { grid-column: span 6; }
  [data-bento="setup"]    { grid-column: span 12; }
  [data-bento="cta"]      { grid-column: span 6; }
  [data-bento="sub-batch"]  { grid-column: span 6; }
  [data-bento="sub-copy"]   { grid-column: span 6; }
  [data-bento="sub-portal"] { grid-column: span 6; }
  [data-bento="sub-selfie"] { grid-column: span 6; }
  [data-bento="sub-logs"]   { grid-column: span 6; }
  [data-bento="sub-13month"] { grid-column: span 6; }
  [data-bento="cta-bai"]    { grid-column: span 6; }
  [data-bento="cta-stack"]  { grid-column: span 6; }
}

@media (min-width: 1024px) {
  [data-bento="featured"] { grid-column: span 8; grid-row: span 2; }
  [data-bento="ulapbai"]  { grid-column: span 4; }
  [data-bento="reports"]  { grid-column: span 4; }
  [data-bento="selfie"]   { grid-column: span 4; }
  [data-bento="tax"]      { grid-column: span 4; }
  [data-bento="disbursement"] { grid-column: span 4; }
  [data-bento="holiday"]  { grid-column: span 4; }
  [data-bento="setup"]    { grid-column: span 8; }
  [data-bento="cta"]      { grid-column: span 8; }
  [data-bento="sub-batch"]  { grid-column: span 4; }
  [data-bento="sub-copy"]   { grid-column: span 4; }
  [data-bento="sub-portal"] { grid-column: span 4; }
  [data-bento="sub-selfie"] { grid-column: span 4; }
  [data-bento="sub-logs"]   { grid-column: span 4; }
  [data-bento="sub-13month"] { grid-column: span 4; }
  [data-bento="cta-bai"]    { grid-column: span 6; }
  [data-bento="cta-stack"]  { grid-column: span 6; }
}

/* ── Add-on Features Section Grid Specifics ── */
#addon-features .ov-grid {
  max-width: 1150px;
  margin: 0 auto;
}

/* ── Side Stack ── */
.ov-side-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  height: auto;
}

/* ── Feature Card (UlapBAI Style) ── */
.feature-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  padding: 1.5rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

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

/* ── Gemini AI Style Card (UlapBAI Add-On) ── */
.feature-card--gemini {
  background: linear-gradient(135deg, #078efa 0%, #a855f7 25%, #ec4899 50%, #9177c7 75%, #078efa 100%);
  background-size: 400% 400%;
  animation: geminiShift 9s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.45s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 
    0 10px 40px rgba(7, 142, 250, 0.3),
    0 20px 80px rgba(168, 85, 247, 0.25);
}

.feature-card--gemini:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 
    0 15px 50px rgba(7, 142, 250, 0.4),
    0 25px 100px rgba(168, 85, 247, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

.feature-card--gemini::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(255, 255, 255, 0.8), 
    rgba(128, 222, 234, 0.8), 
    rgba(255, 255, 255, 0.8),
    transparent
  );
  opacity: 0.8;
  z-index: 2;
}

.feature-card--gemini::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse at 70% 80%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.feature-card--gemini:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 30px 90px rgba(7, 142, 250, 0.35),
    0 40px 100px rgba(145, 119, 199, 0.3);
}

.feature-card--gemini .feature-card-text {
  position: relative;
  z-index: 1;
}

.feature-card--gemini .feature-card-title {
  font-family: var(--ff-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.feature-card--gemini .feature-card-desc {
  font-family: var(--ff-content);
  font-size: 1.05rem;
  color: #FFFFFF;
  opacity: 0.95;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

.feature-card--gemini .ov-cta-btn--gemini {
  background: #FFFFFF;
  color: #9177C7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: none;
}

.feature-card--gemini .ov-cta-btn--gemini:hover {
  background: #FFFFFF;
  color: #078EFA;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.feature-card--gemini .ov-cta-btn--gemini .ov-cta-btn-arrow {
  background: rgba(145, 119, 199, 0.1);
  color: #9177C7;
}

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

.feature-card--wide {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .feature-card--wide {
    grid-column: span 12;
  }
}

.feature-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card-num {
  font-family: var(--ff-alt);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
  text-transform: uppercase;
}

.feature-card-divider {
  width: 32px;
  height: 2px;
  background: var(--clr-primary);
  opacity: 0.3;
  margin-bottom: 0.25rem;
}

.feature-card-title {
  font-family: var(--ff-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-black);
  margin: 0;
  line-height: 1.2;
}

.feature-card-desc {
  font-family: var(--ff-content);
  font-size: 0.8rem;
  color: var(--clr-ink-muted);
  line-height: 1.55;
  margin: 0;
}

.feature-card-svg {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── FAQ Style (Legacy/Collapsible) ── */
.ov-card--faq-style {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: unset !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 119, 4, 0.1) !important;
  margin: 0 !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: none !important;
}

.ov-card--faq-style::before,
.ov-card--faq-style::after {
  display: none !important;
}

.ov-card--faq-style:hover {
  transform: none !important;
  box-shadow: none !important;
}

.ov-card--faq-style:last-child {
  border-bottom: none !important;
}

.ov-faq-question {
  width: 100%;
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  text-align: left;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: background 0.4s ease;
}

.ov-faq-question:hover {
  background: rgba(255, 119, 4, 0.04);
}

.ov-faq-question .ov-card-title {
  margin-bottom: 0 !important;
  pointer-events: none;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

.ov-faq-icon {
  font-size: 1.8rem;
  font-weight: 400;
  color: #ff7704;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.ov-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ov-faq-answer .ov-card-body {
  padding: 0 36px 28px 36px !important;
}

.ov-card--faq-style .ov-card-desc {
  color: #4a4a4a !important;
  font-size: 0.8rem !important;
  line-height: 1.55;
}

.ov-card--faq-style.is-active {
  flex: 1.6;
  background: rgba(255, 119, 4, 0.02) !important;
}

.ov-card--faq-style.is-active .ov-faq-question {
  flex: none;
  padding-top: 28px;
  padding-bottom: 14px;
}

.ov-card--faq-style.is-active .ov-faq-icon {
  transform: rotate(45deg); /* Optional: turn + into x or just rotate for flair */
  color: #ff7704;
}

/* ── 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;
  box-shadow: none;
  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,
    filter 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 (featured + highlight) */
.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%); }

/* Card divider */
.ov-card-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 22, 22, 0.1), transparent);
  margin: 12px 0;
}

/* Card tags */
.ov-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ov-card-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff5eb 0%, #fff0e0 100%);
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 119, 4, 0.2);
}

/* ── Card body ── */
.ov-card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.ov-card-icon {
  width: 52px;
  height: 52px;
  background: transparent;
  color: var(--clr-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.ov-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 119, 4, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.ov-card:hover .ov-card-icon {
  background: rgba(255, 119, 4, 0.08);
  color: var(--clr-primary);
  transform: rotate(-8deg) scale(1.12);
  box-shadow: 0 8px 24px rgba(255, 119, 4, 0.2);
}

.ov-card:hover .ov-card-icon::before {
  opacity: 1;
}

.ov-card-icon--glow {
  box-shadow: 0 0 0 6px rgba(255, 119, 4, 0.08), 0 8px 24px rgba(255, 119, 4, 0.28);
}

.ov-card-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-alt);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--clr-primary);
  background: var(--clr-primary-pale);
  border: 1px solid rgba(255, 119, 4, 0.24);
  padding: 4px 10px;
  border-radius: 100px;
}

.ov-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--clr-primary-dark);
  background: linear-gradient(135deg, rgba(255, 119, 4, 0.08), rgba(255, 119, 4, 0.14));
  border: 1px solid rgba(255, 119, 4, 0.28);
  padding: 4px 10px;
  border-radius: 100px;
}

.ov-card-brand::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(255, 119, 4, 0.18);
}

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

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

.ov-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.ov-chip {
  font-family: var(--ff-alt);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-primary-dark);
  background: rgba(255, 119, 4, 0.1);
  border: 1px solid rgba(255, 119, 4, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ===================================================
   FEATURED CAROUSEL CARD
   =================================================== */
.ov-card--featured {
  background: linear-gradient(135deg, #0f0f10 0%, #1f1f22 55%, #2a1a0a 100%);
  color: var(--clr-white);
  min-height: 440px;
  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 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ov-slide-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: var(--ff-alt);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.ov-slide-chip--blue   { background: rgba(96, 165, 250, 0.15); color: #93c5fd; border: 1px solid rgba(96, 165, 250, 0.3); }
.ov-slide-chip--green  { background: rgba(74, 222, 128, 0.14); color: #86efac; border: 1px solid rgba(74, 222, 128, 0.28); }
.ov-slide-chip--orange { background: rgba(255, 119, 4, 0.18);  color: #ffb36b; border: 1px solid rgba(255, 119, 4, 0.35); }
.ov-slide-chip--purple { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.3); }
.ov-slide-chip--red    { background: rgba(239, 68, 68, 0.15);  color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.ov-slide-chip--yellow { background: rgba(245, 158, 11, 0.15);  color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }

.ov-slide-title {
  font-family: var(--ff-primary);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--clr-white);
  margin: 0;
  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-stats {
  display: flex;
  gap: 28px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ov-stat-num {
  font-family: var(--ff-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-primary-light);
  letter-spacing: -0.02em;
}

.ov-stat-label {
  font-family: var(--ff-content);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.ov-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ov-slide-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

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

/* 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);
}

/* ===================================================
   HIGHLIGHT CARD (UlapBAI)
   =================================================== */
.ov-card--highlight {
  background: linear-gradient(150deg, #fff5eb 0%, #ffffff 60%, #fff5eb 100%);
  border: 1px solid rgba(255, 119, 4, 0.28);
}


@keyframes ovSpin {
  to { transform: rotate(360deg); }
}

.ov-card--highlight .ov-card-icon {
  background: transparent;
  color: var(--clr-primary);
}

.ov-card-orbit {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 119, 4, 0.35);
  pointer-events: none;
}

.ov-card-orbit::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 119, 4, 0.25);
}

.ov-card-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 10px rgba(255, 119, 4, 0.6);
}

.ov-card-orbit-dot:nth-child(1) { top: -4px; left: 50%; }
.ov-card-orbit-dot:nth-child(2) { top: 50%; right: -4px; background: var(--clr-primary-light); }
.ov-card-orbit-dot:nth-child(3) { bottom: 20px; left: 12px; background: var(--clr-primary-dark); }

/* ===================================================
   SMALL TILE CARDS (selfie, reports, tax)
   =================================================== */
.ov-card--tile .ov-card-body { padding: 1.5rem; }

.ov-card-scanline,
.ov-card-doc,
.ov-card-chart,
.ov-card-shield {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.ov-card:hover .ov-card-scanline,
.ov-card:hover .ov-card-doc,
.ov-card:hover .ov-card-chart,
.ov-card:hover .ov-card-shield {
  opacity: 1;
  transform: translateY(-4px);
}

/* Scanline decoration for Selfie */
.ov-card-scanline {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 119, 4, 0.4);
  background:
    linear-gradient(to bottom, transparent 49%, rgba(255, 119, 4, 0.6) 50%, transparent 51%) center/80% 2px no-repeat,
    radial-gradient(circle at center, rgba(255, 119, 4, 0.12) 30%, transparent 70%);
  animation: ovScan 2.4s ease-in-out infinite;
}

@keyframes ovScan {
  0%, 100% { background-position: center 35%, center; }
  50%      { background-position: center 65%, center; }
}

/* Document lines for Reports */
.ov-card-doc {
  width: 84px;
  height: 72px;
  border-radius: 8px;
  background: var(--clr-white);
  border: 1px solid rgba(22, 22, 22, 0.1);
  box-shadow: -6px 6px 0 rgba(255, 119, 4, 0.16), 0 6px 18px rgba(22, 22, 22, 0.08);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.ov-card-doc-line {
  height: 4px;
  border-radius: 4px;
  background: rgba(22, 22, 22, 0.14);
}

.ov-card-doc-line:nth-child(1) { width: 100%; background: var(--clr-primary); }
.ov-card-doc-line:nth-child(2) { width: 80%; }
.ov-card-doc-line:nth-child(3) { width: 60%; }

/* Bar chart for Tax */
.ov-card-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
}

.ov-card-chart span {
  width: 10px;
  background: linear-gradient(to top, var(--clr-primary), var(--clr-primary-light));
  border-radius: 3px 3px 0 0;
  animation: ovBar 2.6s ease-in-out infinite;
}

.ov-card-chart span:nth-child(1) { height: 40%; animation-delay: 0s;   }
.ov-card-chart span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.ov-card-chart span:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.ov-card-chart span:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.ov-card-chart span:nth-child(5) { height: 65%; animation-delay: 0.6s; }

@keyframes ovBar {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.78); }
}

/* Concentric ping rings for Security */
.ov-card-shield {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ov-card-shield::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 12px rgba(255, 119, 4, 0.55);
  z-index: 1;
}

.ov-card-shield span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 119, 4, 0.5);
  animation: ovPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ov-card-shield span:nth-child(1) { animation-delay: 0s; }
.ov-card-shield span:nth-child(2) { animation-delay: 0.8s; }
.ov-card-shield span:nth-child(3) { animation-delay: 1.6s; }

@keyframes ovPing {
  0%   { transform: scale(0.6); opacity: 1; border-width: 3px; }
  100% { transform: scale(3);   opacity: 0; border-width: 1px; }
}

/* Employee & Payroll Setup Bullet List */
.ov-card-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ov-card-bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--clr-ink-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.ov-card-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(255, 119, 4, 0.15);
}

/* ===================================================
   HOLIDAY WIDE CARD
   =================================================== */
.ov-card--wide .ov-card-body {
  padding: 1.5rem;
  gap: 20px;
}

.ov-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ov-card-head .ov-card-title { margin-bottom: 4px; }

.ov-card-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: auto;
}

.ov-cal-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 22, 22, 0.04);
  border-radius: 8px;
  font-family: var(--ff-alt);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-ink-muted);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.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: 3px !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)
   =================================================== */
#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-size: 2rem;
  line-height: 1.2;
}

.ov-integrate-copy .ov-card-desc {
  font-size: 1.05rem;
  line-height: 1.6;
}

.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: 8px;
}

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

.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;
}

.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: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-90deg, #FF7704, #F7B272);
  color: white;
  flex-shrink: 0;
}

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

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

.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 8px;
}

.ts-sub {
  font-family: var(--ff-content);
  font-size: 1rem;
  color: var(--clr-ink-muted);
  line-height: 1.5;
  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;
  }
}

/* ── Mobile performance overrides ──
   The 120px-blur ambient blobs and the half-dozen decorative scan/pulse/
   ping/bar loops are the primary source of jank on phones. We keep the
   visual softness but drop the blur radius dramatically, kill the blob
   motion, and stop loops that aren't load-bearing for the design. */
@media (max-width: 768px) {
  .ov-bg__blob {
    filter: blur(30px) !important;
    opacity: 0.25 !important;
    animation: none !important;
  }
  .ov-bg__blob--1 {
    width: 320px !important;
    height: 320px !important;
  }
  .ov-bg__blob--2 {
    width: 280px !important;
    height: 280px !important;
  }
  .ov-bg__grid {
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.4;
  }
  /* Stop continuous decorative loops on mobile */
  .ov-eyebrow-dot,
  .ov-card-scanline,
  .ov-card-chart span,
  .ov-card-shield span {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ov-bg__blob,
  .ov-eyebrow-dot,
  .feature-card--gemini,
  .ov-card-scanline,
  .ov-card-chart span,
  .ov-card-shield span {
    animation: none !important;
  }
  .feature-card--gemini {
    background-size: 100% 100%;
  }
}
