/* ============================================================
   HARBOR — Fusion SaaS Template Clone
   styles.css
   ============================================================ */

/* ===== @FONT-FACE — Brand Typography ===== */
/* Primary: Neue Power — display & headings */
@font-face {
  font-family: 'Neue Power';
  src: url('../fonts/NeuePower-Regular-qo7lrz.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Power';
  src: url('../fonts/NeuePower-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Secondary: General Sans — body & UI */
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth scroll handled by JS for speed control */

body {
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #01033E;
  background: #ffffff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
ul, ol { list-style: none; }

/* ===== CSS VARIABLES — Harbor Brand ===== */
:root {
  /* Core palette */
  --dark:       #01033E;  /* Dark navy  — hero, footers, dark cards, body text */
  --dark-green: #0033FF;  /* Primary blue — CTAs, nav button, primary actions  */
  --mid-green:  #807DFE;  /* Purple accent — hover states, tags, gradients      */
  --light-bg:   #D4D6E2;  /* Light gray — section backgrounds, dividers         */
  --white:      #ffffff;
  --peach:      #807DFE;  /* Purple (replaces peach) — secondary accents        */

  /* Borders */
  --border:     rgba(1,3,62,0.08);
  --border-lt:  rgba(255,255,255,0.1);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-btn: 100px;

  --transition: 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
.heading-01 {
  font-family: 'Neue Power', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.heading-02 {
  font-family: 'Neue Power', sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.heading-03 {
  font-family: 'Neue Power', sans-serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sub-heading-01---40px {
  font-family: 'Neue Power', sans-serif;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sub-heading-03---24px {
  font-family: 'Neue Power', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}
.sub-heading-04---20px {
  font-family: 'General Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}
.body-01---18px-medium { font-family: 'General Sans', sans-serif; font-size: 18px; font-weight: 400; line-height: 1.6; }
.body-02---16px-medium { font-family: 'General Sans', sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5; }

/* ===== UTILITY ===== */
.opacity-80 { opacity: 0.8; }
.opacity-70 { opacity: 0.7; }
.align-left  { display: flex; justify-content: flex-start; }
.align-right { display: flex; justify-content: flex-end; }
.center-wrap { display: flex; justify-content: center; align-items: center; }

.space-14px { height: 14px; }
.space-16px { height: 16px; }
.space-18px { height: 18px; }
.space-24px { height: 24px; }
.space-34px { height: 34px; }
.space-40px { height: 40px; }

/* ===== SCROLL ANIMATION ===== */
.scroll-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in from left */
.scroll-anim-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-anim-left.visible { opacity: 1; transform: translateX(0); }

/* Slide-in from right */
.scroll-anim-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-anim-right.visible { opacity: 1; transform: translateX(0); }

/* Scale-up (for cards, images) */
.scroll-anim-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-anim-scale.visible { opacity: 1; transform: scale(1); }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container._1320px { max-width: 1320px; }
.container.full    { max-width: 100%; padding: 0; }
.content           { width: 100%; }

/* ===== SECTION ===== */
.section      { padding: 80px 0; }
.section._140px { padding: 100px 0; }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(1,3,62,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
}
.nav-brand img { height: 30px; width: auto; }

/* Nav links */
.nav-link-wrap { display: flex; align-items: center; }
.nav-link-content {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Hover text-slide effect */
.link-content.nav-link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.25em;
  cursor: pointer;
}
.link-content.nav-link .link-text-1 {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  transition: transform 0.3s ease;
  white-space: nowrap;
}
.link-content.nav-link:hover .link-text-1,
.link-content.nav-link.active .link-text-1 {
  transform: translateY(-100%);
}
.link-content.nav-link.active .link-text-1 { color: #ffffff; }

/* CTA group in nav */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 16px;
}
.log-in-link {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.log-in-link:hover { color: #ffffff; }

/* Green pill button */
.link-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--dark-green);
  border-radius: var(--radius-btn);
  transition: background var(--transition);
}
.link-wrap:hover { background: var(--mid-green); }
.link-wrap .link-content.white {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.25em;
}
.link-wrap .link-content.white .link-text-1 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  transition: transform 0.3s ease;
  white-space: nowrap;
}
.link-wrap:hover .link-content.white .link-text-1 { transform: translateY(-100%); }

/* Mobile nav button */
.nav-menu-wrapper {
  display: none;
  align-items: center;
  gap: 16px;
}
.nav-cta-group.mobile { display: none; }

.menu-button-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  gap: 5px;
}
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; }
.hamburger-icon span {
  display: block;
  width: 22px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-button-wrap.open .hamburger-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button-wrap.open .hamburger-icon span:nth-child(2) { opacity: 0; }
.menu-button-wrap.open .hamburger-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown — animated open state */
#nav-menu.mobile-open {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s 0s !important;
}

/* Staggered link reveal when drawer opens */
@media (max-width: 991px) {
  #nav-menu .link-content.nav-link,
  #nav-menu .nav-cta-group {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.32s ease,
      transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  }
  #nav-menu.mobile-open .link-content.nav-link,
  #nav-menu.mobile-open .nav-cta-group {
    opacity: 1;
    transform: translateY(0);
  }
  #nav-menu.mobile-open .link-content.nav-link:nth-of-type(1) { transition-delay: 0.08s; }
  #nav-menu.mobile-open .link-content.nav-link:nth-of-type(2) { transition-delay: 0.14s; }
  #nav-menu.mobile-open .link-content.nav-link:nth-of-type(3) { transition-delay: 0.20s; }
  #nav-menu.mobile-open .link-content.nav-link:nth-of-type(4) { transition-delay: 0.26s; }
  #nav-menu.mobile-open .nav-cta-group { transition-delay: 0.32s; }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  background: #01033E;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
}
.home-hero {
  display: flex;
  align-items: stretch;
  padding: 50px 32px 10px;
}
.hero-bg-wrap { width: 100%; }

.home-hero-bg-wrap {
  display: grid;
  grid-template-columns: 1fr 546px;
  gap: 60px;
  align-items: center;
}

/* Left: text */
.home-hero-bg-content {
  display: flex;
  flex-direction: column;
}
.home-hero-text-wrap { max-width: 580px; }
.home-hero-text-wrap .heading-01 { color: #ffffff; }
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.65;
  max-width: 480px;
}

/* Rating tag */
.rating-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 6px 14px 6px 6px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
}
.rating-tag-wrap img:first-child { width: 22px; height: 22px; border-radius: 50%; }
.rating-tag-content { display: flex; align-items: center; }
.rating-tag-content img { width: 14px; opacity: 0.6; }

/* Hero buttons */
.about-hero-button-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.button-wrap { display: inline-flex; }
.hero-ghost-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  border: 0.7px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, opacity 0.2s;
}
.hero-ghost-btn:hover { background: rgba(255,255,255,0.08); }

/* White filled button */
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-btn);
  overflow: hidden;
  padding: 10px 20px;
  transition: box-shadow 0.2s;
}
.button-link:hover { box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }
.button_content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 14px;
  height: 1.25em;
}
.button-text {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #01033E;
  white-space: nowrap;
  transition: transform 0.3s ease;
}
.button-link:hover .button-text { transform: translateY(-100%); }

/* Video link */
.about-hero-video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.about-hero-video-link:hover { color: #ffffff; }
.about-hero-video-link img { width: 44px; height: 44px; }
._2-min-text {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* ===== Hero Vertical Marquee (desktop) ===== */
.hero-marquee-linear-div {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: calc((100vh - 72px) * 0.7);
  max-height: 700px;
  min-height: 420px;
  overflow: hidden;
}
.hero-marquee-linear-wrap {
  position: absolute;
  left: 0; right: 0;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}
.hero-marquee-linear-wrap.top {
  top: 0;
  background: linear-gradient(to bottom, #01033E 30%, transparent);
}
.hero-marquee-linear-wrap.bottom {
  bottom: 0;
  background: linear-gradient(to top, #01033E 30%, transparent);
}

.home-hero-marquee-wrap,
.hero-marquee-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
  flex: 1;
}
.home-hero-marquee-content {
  display: flex;
  flex-direction: column;
}
.home-hero-marquee-block img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Marquee animations */
.marquee-down  { animation: marqueeDown 40s linear infinite; }
.marquee-up    { animation: marqueeUp   48s linear infinite; }
.marquee-left  { animation: marqueeLeft  30s linear infinite; }
.marquee-right { animation: marqueeRight 30s linear infinite; }

@keyframes marqueeDown  { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes marqueeUp    { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes marqueeLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ===== Hero Landscape Marquee (mobile/tablet) ===== */
.hero-l-marquee-div { display: none; }
.hero-l-marquee-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}
.hero-l-marquee-content {
  display: flex;
  gap: 12px;
  animation: marqueeLeft 20s linear infinite;
}
.hero-l-marquee-content.bottom {
  animation: marqueeRight 24s linear infinite;
}
.hero-l-marquee-image { flex-shrink: 0; width: 280px; border-radius: var(--radius-md); overflow: hidden; }
.hero-l-marquee-image img { width: 100%; height: 180px; object-fit: cover; }
.hero-l-marquee-linear-wrap {
  position: absolute;
  inset: 0;
  display: none; /* hidden by default; shown only on mobile below */
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.hero-l-marquee-linear-content {
  width: 80px;
  background: linear-gradient(to right, #01033E, transparent);
}
.hero-l-marquee-linear-content.right {
  background: linear-gradient(to left, #01033E, transparent);
}

/* ================================================================
   TRUST / LOGOS SECTION
   ================================================================ */
.section._140px {
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0;
}
.section._140px .container { width: 100%; }
.section._140px .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}
.heading-block {
  text-align: center;
  max-width: 820px;
}
.heading-block .sub-heading-04---20px {
  color: #01033E;
  font-weight: 400;
}
.logo-marquee-wrap { margin-top: 8px; }
.logo-content-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}
.logo-content-block::-webkit-scrollbar { display: none; }
.logo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  opacity: 0.55;
  transition: opacity 0.25s;
  filter: brightness(0);
}
.logo-content:hover { opacity: 0.85; }
.logo-content img { height: 52px; width: auto; object-fit: contain; }

/* ================================================================
   APPS / SERVICES SECTION
   ================================================================ */
.wrap { display: flex; flex-direction: column; align-items: center; width: 100%; }
.apps-link-wrap { display: flex; gap: 12px; }
.apps-link-block { display: inline-block; transition: opacity 0.2s, transform 0.2s; }
.apps-link-block:hover { opacity: 0.8; transform: translateY(-2px); }
.apps-link-block img { height: 46px; width: auto; }

.heading-block.apps-link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 680px;
  text-align: center;
}
.heading-block.apps-link .sub-heading-01---40px { color: #01033E; }

.store-bg-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 15px;
  background: transparent;
}
.store-wrap {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  padding: 48px 36px;
  color: #01033E;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow:
    6px 6px 16px rgba(1,3,62,0.10),
    -4px -4px 12px rgba(255,255,255,0.85),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.store-wrap:hover {
  background: rgba(255,255,255,0.65);
  box-shadow:
    8px 8px 24px rgba(1,3,62,0.13),
    -4px -4px 14px rgba(255,255,255,0.9),
    inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-2px);
}

/* Stat number */
.store-wrap .card-stat {
  font-family: 'Neue Power', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #0033FF;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  white-space: nowrap;
}
/* Card title */
.store-wrap .card-title {
  font-family: 'Neue Power', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #01033E;
  line-height: 1.35;
  margin-bottom: 14px;
}
/* Card body */
.store-wrap .card-body {
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(1,3,62,0.55);
  line-height: 1.7;
}

/* ================================================================
   TESTIMONIAL SECTIONS
   ================================================================ */
.heading-block.testimonial { text-align: center; margin-bottom: 48px; }

.testimonial-bg-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
}
.testimonial-bg-wrap.reverse { direction: rtl; }
.testimonial-bg-wrap.reverse > * { direction: ltr; }

.testimonial-bg-content {
  background: var(--dark);
  color: #ffffff;
  padding: 64px 52px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.testimonial-bg-block { width: 100%; text-align: left; }
.testimonial-bg-block .heading-03 { color: #ffffff; }
.testimonial-bg-block .opacity-80 {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.65;
}

.testimonial-image-wrap { position: relative; overflow: hidden; min-height: 400px; }
.testimonial-image-wrap > img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.testimonial-image-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.testimonial-image-block img {
  width: 85%;
  max-width: 420px;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.35);
}

.testimonial-list-grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 10px 16px;
}
.testimonial-list-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
}
.testimonial-list-wrap img { width: 16px; height: 16px; flex-shrink: 0; }

.testimonial-clients-rating-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-clients-rating-content img { width: 28px; }

/* "Get Started" link inside dark panel */
.link-wrap.main {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  transition: background 0.2s;
}
.link-wrap.main:hover { background: rgba(255,255,255,0.14); }
.link-wrap.main .link-content.white { display: flex; flex-direction: column; overflow: hidden; height: 1.25em; }
.link-wrap.main .link-content.white .link-text-1 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  transition: transform 0.3s;
}
.link-wrap.main:hover .link-content.white .link-text-1 { transform: translateY(-100%); }

/* ================================================================
   VIDEO SECTION
   ================================================================ */
.video-bg-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #01033E;
}
.video-wrap { position: relative; cursor: pointer; }
.video-bg-image { width: 100%; height: auto; display: block; }
.video-bg-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.video-link-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s;
}
.video-link-wrap:hover { transform: scale(1.06); }
.video-link-wrap img:first-child { width: 80px; height: 80px; }
.video-arrow-icon-wrap img { width: 28px; opacity: 0.7; }

.video-bg-block {
  display: flex;
  gap: 0;
  padding: 28px 40px;
  background: rgba(1,3,62,0.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.video-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.video-content.line-hide {
  padding-left: 40px;
  margin-left: 40px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.video-content img { width: 44px; height: 44px; }
.video-block { display: flex; flex-direction: column; gap: 2px; }
.video-rating-text { font-size: 26px; font-weight: 700; color: #ffffff; }
.video-block .opacity-80 { color: rgba(255,255,255,0.65); font-size: 13px; }

/* ================================================================
   FEATURES SECTION
   ================================================================ */
.bg-wrap {
  background: var(--light-bg);
}
.heading-block.feature {
  text-align: center;
  margin-bottom: 52px;
}

.product-bg-wrap {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.product-bg-line-linear { background: rgba(255,255,255,0.07); }
.product-bg-content.side,
.product-bg-content.center-col {
  display: flex;
  flex-direction: column;
}
.product-wrap {
  padding: 36px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background 0.25s;
}
.product-wrap:last-child { border-bottom: none; }
.product-wrap:hover { background: rgba(0,51,255,0.06); }

.product-content { display: flex; align-items: flex-start; gap: 18px; }
.product-content img { width: 40px; height: 40px; flex-shrink: 0; margin-top: 2px; }
.product-block .sub-heading-03---24px { color: #ffffff; margin-bottom: 8px; font-size: 20px; }
.product-block .opacity-80 { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.55; }

.product-white-dot-wrap {
  width: 10px; height: 10px;
  background: #807DFE;
  border-radius: 50%;
  position: absolute;
  top: -5px; right: -5px;
}
.product-white-dot-wrap.last { bottom: -5px; top: auto; }
.product-line-linear { height: 1px; background: rgba(255,255,255,0.06); }

/* Feature image grid */
.feature-bg-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-wrap { border-radius: var(--radius-md); overflow: hidden; }
.feature-wrap img {
  width: 100%; height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feature-wrap:hover img { transform: scale(1.06); }
.feature-wrap:hover { box-shadow: 0 0 0 2px #0033FF; }

/* ================================================================
   INTEGRATION SECTION
   ================================================================ */
.integration-bg-wrap {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 64px;
  overflow: hidden;
  position: relative;
}
.integration-bg-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.integration-text-wrap .heading-03 { color: #ffffff; margin-bottom: 16px; }
.integration-text-wrap .opacity-80 { color: rgba(255,255,255,0.65); line-height: 1.65; font-size: 16px; }

.black-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-btn);
  transition: background 0.2s;
}
.black-button:hover { background: rgba(255,255,255,0.15); }
.black-button .link-content.white { display: flex; flex-direction: column; overflow: hidden; height: 1.25em; }
.black-button .link-content.white .link-text-1 {
  color: #ffffff; font-size: 14px; font-weight: 600;
  line-height: 1.25; transition: transform 0.3s;
}
.black-button:hover .link-content.white .link-text-1 { transform: translateY(-100%); }

/* Dark-mode button variant for light sections */
.black-button.dark {
  background: var(--dark);
  border-color: var(--dark);
}
.black-button.dark:hover { background: #0d0f50; }
.black-button .link-content.dark .link-text-1 { color: #ffffff; font-size: 14px; font-weight: 600; line-height: 1.25; transition: transform 0.3s; }
.black-button.dark { display: inline-flex; }

.integrations-group-image img { width: 100%; border-radius: var(--radius-md); }
.integrations-arrow-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}
.integrations-arrow-content img { width: 28px; opacity: 0.3; }

/* ================================================================
   COMPARISON SECTION
   ================================================================ */
.heading-block.choose { text-align: center; margin-bottom: 52px; }

.choose-bg-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.choose-other-bg-wrap {
  background: #D4D6E2;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.choose-other-bg-wrap.fusion {
  background: var(--dark);
  color: #ffffff;
}
.choose-other-sub-wrap {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: rgba(1,3,62,0.07);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}
.choose-other-sub-wrap .sub-heading-03---24px { font-size: 18px; color: #01033E; }
.choose-other-sub-wrap.fusion { background: rgba(255,255,255,0.1); }
.choose-other-sub-wrap.fusion img { height: 22px; width: auto; }

.choose-list-wrap { display: flex; flex-direction: column; gap: 0; }
.choose-list-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid rgba(1,3,62,0.08);
  color: rgba(1,3,62,0.75);
}
.choose-other-bg-wrap.fusion .choose-list-content {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.07);
}
.choose-list-content img { width: 20px; height: 20px; flex-shrink: 0; }

.choose-arrow-bg-wrap {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.choose-arrow-bg-content {
  width: 48px; height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.choose-arrow-bg-content img { width: 20px; }

/* ================================================================
   CLIENT REVIEWS MARQUEE
   ================================================================ */
.heading-block.client {
  text-align: center;
  margin-bottom: 56px;
  flex-direction: column;
  gap: 24px;
}
.client-review-rating-wrap { display: flex; align-items: center; gap: 16px; }
.client-review-rating-line { width: 1px; height: 36px; background: rgba(1,3,62,0.15); }
.client-review-rating-wrap img { height: 32px; width: auto; }

.client-marquee-block {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clients-marquee-content-wrapper,
.clients-marquee-content-wrapper-bottom {
  overflow: hidden;
  padding: 8px 0;
}
.clients-marquee-content {
  display: flex;
  gap: 20px;
  width: max-content;
}

.clients-marquee-block {
  background: #ffffff;
  border: 1px solid rgba(212,214,226,0.8);
  border-radius: var(--radius-md);
  padding: 28px;
  width: 360px;
  flex-shrink: 0;
  transition: box-shadow 0.25s;
}
.clients-marquee-block:hover {
  box-shadow: 0 8px 32px rgba(0,51,255,0.12);
}

.clients-marquee-text-wrapper { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.clients-marquee-star-icon { height: 18px; width: auto; }
.clients-marquee-text-wrapper .body-01---18px-medium { color: #01033E; line-height: 1.5; font-size: 16px; }

.client-line-wrap { display: flex; flex-direction: column; gap: 16px; }
.client-line { height: 1px; background: #D4D6E2; }
.clients-wrapper { display: flex; align-items: center; gap: 12px; }
.blog-01-clients-image { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.blog-01-clients-image img { width: 100%; height: 100%; object-fit: cover; }
.clients-name { display: flex; flex-direction: column; gap: 1px; }
.clients-name .body-02---16px-medium { color: #01033E; font-weight: 600; font-size: 14px; }
.clients-name .opacity-80 { font-size: 12px; color: rgba(1,3,62,0.45); opacity: 1; }

/* Edge fades */
.client-marquee-linear-wrap {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between;
  pointer-events: none; z-index: 2;
}
.client-marquee-linear-content {
  width: 120px;
  background: linear-gradient(to right, #ffffff, transparent);
}
.client-marquee-linear-content.right {
  background: linear-gradient(to left, #ffffff, transparent);
}

/* ================================================================
   BLOG SECTION
   ================================================================ */
.center-wrap.space-between {
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.heading-block.blog-home { text-align: left; max-width: 480px; }
.heading-block.blog-home .heading-02 { font-size: clamp(26px, 3vw, 40px); }

.blog-bg-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.blog-link-wrap { display: block; }

/* Hero post */
.blog-hero-bg-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
}
.blog-image-wrap.hero { height: 300px; overflow: hidden; }
.image.hero {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-link-wrap:hover .image.hero { transform: scale(1.04); }
.blog-hero-bg-content { padding: 32px; }
.blog-hero-bg-block { color: #ffffff; }
.blog-hero-bg-block .sub-heading-03---24px { color: #ffffff; font-size: 20px; }

.blog-tag-wrap { display: flex; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.5); }
.blog-tag-block {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.blog-tag-block.hero { background: rgba(255,255,255,0.15); }

.cms-button-wrap {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: #ffffff;
}
.blog-hero-link-icon { width: 14px; }

/* Side posts */
.blog-bg-content { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.blog-wrap.hero-02 {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  flex: 1;
  transition: background 0.2s;
}
.blog-wrap.hero-02:hover { background: #C8CAD8; }
.blog-wrap.hero-02 .sub-heading-03---24px { color: #01033E; font-size: 18px; }
.blog-wrap.hero-02 .blog-tag-wrap { color: rgba(1,3,62,0.45); }
.blog-wrap.hero-02 .cms-button-wrap { color: #01033E; }
.blog-wrap.hero-02 .cms-button-wrap img { width: 24px; height: 24px; }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-bg-wrap {
  background: linear-gradient(160deg, #01033E 0%, #0033FF 100%);
}
.cta-bg-content { padding: 100px 40px; text-align: center; }
.cta-wrap { max-width: 700px; margin: 0 auto; }
.cta-wrap .heading-02 { color: #ffffff; }
.cta-content { max-width: 540px; margin: 0 auto; }
.cta-content .opacity-80 { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.65; }

/* CTA button (white on dark) */
.cta-bg-content .button-link {
  background: #ffffff;
  border-radius: var(--radius-btn);
}
.cta-bg-content .button-text { color: #01033E; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer-section { padding-top: 0; }
.footer-bg-wrap { border-top: 1px solid rgba(255,255,255,0.08); }
.content._120px { padding: 72px 0 40px; }

.footer-bg-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}
.footer-link-content { display: flex; flex-direction: column; gap: 18px; }

/* Col 1 brand */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 240px;
}
/* Social icons — blue background */
.footer-brand-col .social-link {
  background: #0033FF !important;
  border-color: #0033FF !important;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.footer-brand-col .social-link:hover {
  background: #0026cc !important;
  border-color: #0026cc !important;
}
.footer-brand-col .social-link img {
  filter: brightness(0) invert(1);
  width: 15px;
  height: 15px;
}

/* Email row in contact column */
.footer-email-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.footer-email-link span {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-email-link:hover span { color: rgba(255,255,255,0.9); }
.footer-email-icon {
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}

.footer-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.footer-link-block { display: flex; flex-direction: column; gap: 10px; }
.link-content.footer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.25em;
}
.link-content.footer .link-text-1 {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.25;
  transition: transform 0.3s, color 0.2s;
}
.link-content.footer:hover .link-text-1 {
  transform: translateY(-100%);
  color: rgba(255,255,255,0.9);
}

.footer-wrap { }
.footer-wrap .footer-text { margin-bottom: 6px; }
.footer-wrap .opacity-70 { color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 18px; }

.footer-form-wrap { margin-bottom: 24px; }
.footer-form-content {
  display: flex;
  gap: 8px;
  padding: 5px 5px 5px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}
.footer-text-field {
  flex: 1; border: none;
  background: transparent;
  font-family: inherit; font-size: 13px;
  color: #ffffff; outline: none;
}
.footer-text-field::placeholder { color: rgba(255,255,255,0.3); }
.submit-button {
  width: 34px; height: 34px;
  background: #ffffff;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2301033e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'%3E%3C/line%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'%3E%3C/polygon%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.2s;
  flex-shrink: 0;
}
.submit-button:hover { background-color: var(--peach); }
.form-success {
  margin-top: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 10px 0;
}

.social-wrap { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.social-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.16);
}
.social-link img { width: 16px; height: 16px; }

/* Footer social icons — images are 40×40 with background baked in.
   Uses .footer-brand-col prefix to beat the higher-specificity rules above. */
.footer-brand-col .social-link.footer-social {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.footer-brand-col .social-link.footer-social img {
  filter: none !important;
  width: 40px !important;
  height: 40px !important;
  display: block !important;
  border-radius: 10px !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.footer-brand-col .social-link.footer-social:hover img {
  opacity: 0.85;
  transform: scale(1.06);
}

.cr-wrap {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cr-text { font-size: 13px; color: rgba(255,255,255,0.3); text-align: center; }
.cr-link { color: rgba(255,255,255,0.5); text-decoration: underline; transition: color 0.2s; }
.cr-link:hover { color: rgba(255,255,255,0.85); }

/* ================================================================
   RESPONSIVE — TABLET (≤ 991px)
   ================================================================ */
@media (max-width: 991px) {
  /* ── Mobile nav drawer — always in DOM, hidden until .mobile-open ── */
  .nav-link-wrap {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 998;
    background: #ffffff;
    padding: 4px 28px 28px;
    border-bottom: 1px solid rgba(1, 3, 62, 0.08);
    box-shadow: 0 20px 56px rgba(1, 3, 62, 0.10);
    /* Hidden state */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.24s ease,
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s 0.28s;
  }

  /* Stacked link list */
  .nav-link-wrap .nav-link-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  /* Individual link rows */
  .nav-link-wrap .link-content.nav-link {
    height: auto;
    overflow: visible;
    padding: 16px 0;
    border-bottom: 1px solid rgba(1, 3, 62, 0.06);
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  /* Hide duplicate text node */
  .nav-link-wrap .link-content.nav-link .link-text-1:last-child { display: none; }

  /* Disable text-slide hover on mobile — column layout breaks it */
  .nav-link-wrap .link-content.nav-link:hover .link-text-1,
  .nav-link-wrap .link-content.nav-link.active .link-text-1 {
    transform: none;
  }

  /* CTA buttons inside the drawer */
  .nav-link-wrap .nav-cta-group {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    padding-top: 20px;
    width: 100%;
  }
  .nav-link-wrap .nav-cta-group .log-in-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid rgba(1, 3, 62, 0.15);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
  }
  .nav-link-wrap .nav-cta-group .link-wrap {
    justify-content: center;
    padding: 13px 20px;
    width: 100%;
  }

  .nav-menu-wrapper { display: flex; }

  .home-hero-bg-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-marquee-linear-div { display: none; }
  .hero-l-marquee-div { display: block; }

  .store-bg-wrap { grid-template-columns: 1fr; }

  .testimonial-bg-wrap,
  .testimonial-bg-wrap.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .testimonial-bg-wrap.reverse .testimonial-image-wrap { order: -1; }
  .testimonial-image-wrap { min-height: 300px; }
  /* Features section on mobile — image always before text column */
  .features-section .testimonial-bg-wrap .testimonial-image-wrap { order: -1; }
  .features-section .testimonial-bg-wrap .testimonial-bg-content { order: 0; }

  .product-bg-wrap {
    grid-template-columns: 1fr;
  }
  .product-bg-line-linear { display: none; }

  .feature-bg-wrap { grid-template-columns: repeat(2, 1fr); }

  .integration-bg-content { grid-template-columns: 1fr; gap: 40px; }

  .choose-bg-wrap { grid-template-columns: 1fr; }
  .choose-arrow-bg-wrap { display: none; }

  .blog-bg-wrap { grid-template-columns: 1fr; }

  .footer-bg-content { grid-template-columns: 1fr; gap: 48px; }
  .footer-link-wrap { gap: 36px; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ================================================================ */
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .home-hero { padding: 48px 20px; }

  .about-hero-button-wrap { gap: 16px; }
  .hero-subtitle { font-size: 16px; }

  .feature-bg-wrap { grid-template-columns: repeat(2, 1fr); }
  .logo-content-block { gap: 12px; flex-wrap: nowrap; justify-content: flex-start; padding: 0 16px; }
  .clients-marquee-block { width: 300px; }

  .video-bg-block { flex-direction: column; gap: 0; padding: 24px; }
  .video-content { padding: 16px 0; }
  .video-content.line-hide {
    border-left: none; border-top: 1px solid rgba(255,255,255,0.1);
    padding-left: 0; margin-left: 0;
    padding-top: 16px; margin-top: 0;
  }

  .integration-bg-wrap { padding: 40px 28px; }
  .cta-bg-content { padding: 72px 24px; }
  .testimonial-bg-content { padding: 48px 32px; }
  .testimonial-list-grid { grid-template-columns: 1fr; }

  .center-wrap.space-between { flex-direction: column; align-items: flex-start; gap: 20px; }
  .heading-block.blog-home { max-width: 100%; }

  /* Hero marquee horizontal fades — visible on mobile only */
  .hero-l-marquee-linear-wrap { display: flex; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤ 479px)
   ================================================================ */
@media (max-width: 479px) {
  .feature-bg-wrap { grid-template-columns: 1fr; }
  .store-bg-wrap { gap: 12px; }
  .testimonial-list-grid { grid-template-columns: 1fr; }
  .choose-other-bg-wrap { padding: 28px 22px; }
  .footer-link-wrap { flex-direction: column; gap: 28px; }
}

/* ================================================================
   FEATURES SECTION — Orchestrated reveals (Stripe / Cash App style)
   ================================================================ */

/* Pillar card container — gentle lift with subtle scale */
.features-section .testimonial-bg-wrap {
  opacity: 0;
  transform: translateY(48px) scale(0.985);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.features-section .testimonial-bg-wrap.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Neutralize default scroll-anim transforms within pillars — we orchestrate instead */
.features-section .testimonial-bg-wrap .scroll-anim,
.features-section .testimonial-bg-wrap .scroll-anim-left,
.features-section .testimonial-bg-wrap .scroll-anim-right,
.features-section .testimonial-bg-wrap .scroll-anim-scale {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pillar label — rises with soft blur-in */
.features-section .testimonial-bg-wrap .pillar-label {
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.features-section .testimonial-bg-wrap.is-revealed .pillar-label {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.08s;
}

/* Heading — Stripe-style text rise with clip-path reveal */
.features-section .testimonial-bg-wrap .heading-03 {
  clip-path: inset(-12% 0 100% 0);
  -webkit-clip-path: inset(-12% 0 100% 0);
  transform: translateY(20px);
  opacity: 0;
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease;
}
.features-section .testimonial-bg-wrap.is-revealed .heading-03 {
  clip-path: inset(-12% 0 -12% 0);
  -webkit-clip-path: inset(-12% 0 -12% 0);
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.22s;
}

/* Body copy — soft fade up after heading */
.features-section .testimonial-bg-wrap.is-revealed .opacity-80 {
  opacity: 0.8;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* CTA button (speed pillar) — spring in */
.features-section .testimonial-bg-wrap .pillar-speed-btn {
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.features-section .testimonial-bg-wrap.is-revealed .pillar-speed-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.5s;
}

/* Checklist items — staggered spring reveal */
.features-section .testimonial-bg-wrap .testimonial-list-wrap {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.features-section .testimonial-bg-wrap.is-revealed .testimonial-list-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.features-section .testimonial-bg-wrap.is-revealed .testimonial-list-wrap:nth-child(1) { transition-delay: 0.56s; }
.features-section .testimonial-bg-wrap.is-revealed .testimonial-list-wrap:nth-child(2) { transition-delay: 0.64s; }
.features-section .testimonial-bg-wrap.is-revealed .testimonial-list-wrap:nth-child(3) { transition-delay: 0.72s; }
.features-section .testimonial-bg-wrap.is-revealed .testimonial-list-wrap:nth-child(4) { transition-delay: 0.80s; }

/* Pillar image — scale + shadow bloom + composable parallax */
.features-section .testimonial-image-wrap { overflow: visible; }
.features-section .pillar-cover-img {
  opacity: 0;
  transform: translateY(32px) scale(0.94);
  filter: drop-shadow(0 8px 20px rgba(0, 51, 255, 0));
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.3s ease;
  translate: 0 var(--parallax-y, 0px);
  will-change: transform, filter, opacity, translate;
}
.features-section .testimonial-bg-wrap.is-revealed .pillar-cover-img {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 24px 60px rgba(0, 51, 255, 0.22));
  transition-delay: 0.18s;
}

/* Respect users with reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .features-section .testimonial-bg-wrap,
  .features-section .testimonial-bg-wrap *,
  .features-section .pillar-cover-img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    filter: none !important;
    opacity: 1 !important;
    translate: 0 !important;
  }
}
