/*
Theme Name: Mareana v2
Description: Custom Theme for Mareana
Author: Mareana
Version: 1.0.0
*/
@import url("https://fonts.googleapis.com/css2?family=Just+Me+Again+Down+Here&display=swap");

.container {
  max-width: clamp(
    1400px,
    max(1400px, calc(1120px + (100vw - 768px) * 0.2152777778)),
    1368px
  );
  margin: 0 auto;
  padding-left: clamp(
    25px,
    max(25px, calc(20px + (100vw - 768px) * 0.0520833333)),
    80px
  );
  padding-right: clamp(
    25px,
    max(25px, calc(20px + (100vw - 768px) * 0.0520833333)),
    80px
  );
}

@media (min-width: 1500px) {
  .container {
    max-width: 1500px;
  }
}
@media (min-width: 1650px) {
  .container {
    max-width: 1710px;
  }
}

/* ─── Utility: Gradient Text ─── */
.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Design Fix - 24 APR */
#hero-section {
  background-color: var(--black);
  padding: 80px 24px 80px;
  width: 100%;
  position: relative;
}

.hero-eyebrow-container {
  padding-top: 80px;
}

/* Design Fix - 24 APR: Global Topography Overlay */
.topo-overlay-2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Below content, above background */
  pointer-events: none;
  /* Edge fade */
  /* -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 55%,
    transparent 100%
  );

  mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%); */
}

.topo-overlay {
  position: absolute;
  /* left: 50%;
  bottom: 50%; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Below content, above background */
  pointer-events: none;
  /* Edge fade */
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 55%,
    transparent 100%
  );

  mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
  overflow: hidden;
  top: 0;
}

/* White part of the heading */
.hero-heading {
  color: var(--foreground-white);
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}

/* Design Fix - 24 APR: Hero heading gradient standardized */
.hero-heading-gradient {
  background: linear-gradient(
    90deg,
    var(--mareana-cyan) 0%,
    var(--mareana-primary) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  white-space: nowrap;
  display: inline-block;
}

.hero-desc {
  color: var(--foreground-white);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  opacity: 0.85;
  position: relative;
  z-index: 2;
}

.hero-buttons {
  position: relative;
  z-index: 2;
  padding-top: 32px;
}

.glass-container {
  padding: 10px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 72px;
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.228);
  position: relative;
  overflow: visible;
  z-index: 2;
}

/* MESH GRADIENT COMPONENT */
.mesh-gradient-wrapper {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  overflow: hidden;
  filter: blur(100px);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  max-width: 100vw;
  background: transparent;
}

.hero-mesh-gradient {
  width: 1099px;
  height: 721px;
  margin-top: -50px;
}

.mesh-blob {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: mesh-float 10s infinite alternate ease-in-out;
}

.blob-1 {
  background: #4cc9f0;
  top: 10%;
  left: 10%;
  width: 500px;
  height: 500px;
  animation-delay: 0s;
}

.blob-2 {
  background: #4361ee;
  bottom: 10%;
  right: 10%;
  width: 600px;
  height: 600px;
  animation-delay: -5s;
}

.blob-3 {
  background: #4cc9f0;
  top: 30%;
  left: 40%;
  width: 450px;
  height: 450px;
  animation-delay: -10s;
}

.blob-4 {
  background: #4361ee;
  bottom: 20%;
  right: 40%;
  width: 550px;
  height: 550px;
  animation-delay: -15s;
}

@keyframes mesh-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(150px, -80px) scale(1.2);
  }

  66% {
    transform: translate(-100px, 120px) scale(0.9);
  }

  100% {
    transform: translate(80px, 100px) scale(1.1);
  }
}

.hero-diagram {
  background: var(--surface-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.2);
}

.diagram-pills {
  margin-bottom: 50px;
}

.diagram-pill {
  background: var(--surface-white) !important;
  border: 1px solid var(--mareana-border);
  border-radius: 100px;
  padding: 8px 24px 8px 8px;
  color: var(--foreground-primary);
  font-size: 14px;
}

.diagram-pill .icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 0;
}

.diagram-pill .icon-circle svg {
  width: 16px;
  height: 16px;
}

.diagram-pill .icon-circle.outline-grey svg {
  stroke: none;
  fill: var(--mareana-primary);
}

.diagram-layout {
  gap: 24px;
}

.diagram-col-img {
  flex: 0 1 28%;
  max-width: 320px;
}

.diagram-col-img img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: block;
}

.diagram-engine {
  flex: 1 1 36%;
  position: relative;
  z-index: 1;
}

/* Reusable Mesh Glow Component */
.mesh-glow-bg {
  position: relative;
  z-index: 1;
}

/* Design Fix - 24 APR */
.mesh-glow-bg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(67, 97, 238, 0.25),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 195, 255, 0.22),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 195, 255, 0.22),
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(78, 212, 249, 0.15),
      transparent 70%
    );
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  animation: rotateMesh 10s linear infinite;
  opacity: 1;
}

/* Design Fix - 24 APR: iOS Liquid Glass style */
.engine-title {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground-primary);
  margin-bottom: 32px;
  text-align: center;

  /* Design Fix - 24 APR: iOS Liquid Glass style (No outer shadow) */
  display: inline-block;
  padding: 8px 24px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.375);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.engine-subtitle-container {
  width: 100%;
  height: 24px;
}

.engine-step {
  position: absolute;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: var(--foreground-primary);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: stepTickerOut 2s forwards;
}

.engine-step.audit-step {
  color: var(--foreground-primary);
  animation: stepTickerStay 2s forwards;
}

.audit-badge-check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.engine-step:nth-child(1) {
  animation-delay: 0s;
}

.engine-step:nth-child(2) {
  animation-delay: 2s;
}

.engine-step:nth-child(3) {
  animation-delay: 4s;
}

.engine-step:nth-child(4) {
  animation-delay: 6s;
}

.engine-step:nth-child(5) {
  animation-delay: 8s;
}

.engine-step:nth-child(6) {
  animation-delay: 10s;
}

.engine-step:nth-child(7) {
  animation-delay: 12s;
}

.engine-step:nth-child(8) {
  animation-delay: 14s;
}

.engine-step:nth-child(9) {
  animation-delay: 16s;
}

.engine-visual {
  gap: 24px;
}

.engine-arrow svg {
  width: 32px;
  height: 32px;
  animation: flowRight 2s infinite ease-in-out;
}

.engine-arrow.arrow-blue svg {
  animation-delay: 1s;
  /* stagger the arrows so it feels continuous */
}

.engine-core {
  width: 160px;
  height: 160px;
}

/* Design Fix - 24 APR: Replace rings with hero logo */
.engine-hero-logo {
  width: 140px;
  height: auto;
  z-index: 10;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

@keyframes corePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════
   Processing Ticker Keyframes
═══════════════════════════════════════ */

/* Animates steps 1-8: Fade in, hold, then fade out upwards */
@keyframes stepTickerOut {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  15% {
    opacity: 1;
    transform: translateY(0px);
  }

  85% {
    opacity: 1;
    transform: translateY(0px);
  }

  100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}

/* Animates step 9: Fade in and stay visible */
@keyframes stepTickerStay {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  15%,
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.dot-black {
  background: var(--surface-black);
}

.dot-cyan {
  background: var(--mareana-primary);
}

/* ═══════════════════════════════════════
   Infographic Animations
═══════════════════════════════════════ */
@keyframes flowRight {
  0% {
    transform: translateX(-8px);
    opacity: 0.4;
  }

  50% {
    transform: translateX(8px);
    opacity: 1;
  }

  100% {
    transform: translateX(-8px);
    opacity: 0.4;
  }
}

@keyframes rotateMesh {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.05);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes blinkDot {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* stepTicker: total cycle = 18s (9 steps × 2s each)
   Each step is visible for ~1.4s out of its 2s window.
   Percentages are calculated for each step's window within the 18s cycle.
   We do this with a single keyframe and staggered animation-delay per step:
   0%      → invisible, below (start)
   5.5%    → fully visible (slid up)
   ~8%     → start fading out (slide up further + fade)
   11%     → invisible above (done)
   100%    → invisible (waiting for next cycle)
*/
@keyframes stepTicker {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  5.5% {
    opacity: 1;
    transform: translateY(0px);
  }

  8.5% {
    opacity: 0;
    transform: translateY(-16px);
  }

  9%,
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Mobile responsiveness for the diagram */
@media (max-width: 991.98px) {
  .diagram-layout {
    flex-direction: column;
  }

  .engine-visual {
    flex-direction: column;
    padding: 32px 0;
  }

  .engine-arrow {
    transform: rotate(90deg);
  }
}

/* For Company Marquee */

.marquee-section {
  background: var(--surface-white);
  overflow: hidden;
  width: 100%;
}

/* Updated APR 25*/

.marquee-label {
  font-size: 14px;
  color: var(--foreground-secondary);
  white-space: nowrap;
  line-height: 2;
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1.5px solid var(--mareana-border);
  margin-right: 32px;
}

.marquee-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  animation: scroll-left 28s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-fade-wrapper {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.logo-block {
  display: flex;
  align-items: center;
  padding: 0 32px;
  position: relative;
}
.logo-block::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1.5px;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #d6d6d6 45.67%, #ffffff 100%);
}
.logo-block:first-child {
  border-left: none;
}

.logo-block img {
  width: auto;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-block img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
  /* Subtle pop on hover */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.outer {
  display: flex;
  align-items: center;
}

/* Problem Section */
#problem-section {
  background-color: #f6f7f9;
  padding: 100px 0;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg, #f94e9b 0%, #932e5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Marquee container */
.marquee-container {
  height: 350px;
  overflow: hidden;
  position: relative;
  padding: 0 0 0 32px;
}

/* Fade edges */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 2;
}

.marquee-container::before {
  top: 0;
  background: linear-gradient(to bottom, #f6f7f9, transparent);
}

.marquee-container::after {
  bottom: 0;
  background: linear-gradient(to top, #f6f7f9, transparent);
}

.marquee {
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: scrollUp 12s linear infinite;
}

/* Design Fix - 24 APR: Marquee text style */
.marquee span {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -1.6px;
  color: #cfcfd4;
  transition: all 0.3s ease;
  opacity: 0.4;
  transform: scale(0.95);
  text-align: left;
}

/* Design Fix - 24 APR: Active (center item) gradient */
.marquee span.active {
  background: linear-gradient(90deg, #f94e9b 0%, #932e5c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
  font-weight: 500;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.problem-eyebrow {
  color: var(--foreground-secondary, #505050);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 3.6px;
  text-transform: uppercase;
}

#problem-section .section-heading {
  color: var(--foreground-primary, #1a181b);
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
}

#problem-section .desc-text {
  color: var(--foreground-secondary, #505050);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
}

.desc-text-dark {
  color: #e8e8e8 !important;
  line-height: 210% !important;
}

.info-card {
  background: var(--Surface-White, #fff);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.info-card-item {
  flex: 1;
}

.info-card h3 {
  background: linear-gradient(90deg, #f94e9b 0%, #932e5c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 0;
}

.info-card .small-text {
  color: var(--foreground-secondary, #505050);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.info-card-separator {
  width: 0.5px;
  height: 60px;
  background: linear-gradient(180deg, #fff 0%, #f94e9b 51.92%, #fff 100%);
  flex-shrink: 0;
}

/* Common */
.text-primary {
  color: var(--mareana-primary);
}

/* Design Fix - 24 APR: Standardized Section Heading */
.section-heading {
  color: var(--foreground-primary, #1a181b);
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
}

/* Design Fix - 24 APR: Standardized Primary Gradient */
.text-primary-gradient {
  background: linear-gradient(
    90deg,
    var(--mareana-cyan) 0%,
    var(--mareana-primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.desc-text {
  color: var(--Foreground-Secondary, #505050);
  font-family: var(--Mareana-Primary, Poppins);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
}

/* Design Fix - 24 APR: Dark bg desc color */
[data-theme="dark"] .desc-text {
  color: #e8e8e8 !important;
}

/* How It Works Section */
#how-it-works {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hiw-mesh-gradient {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  /* Slightly more subtle for the middle section */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Global Glass Card Wrapper */
.glass-card {
  background: var(--glass-bg-default);
  border: 1px solid rgba(255, 255, 255, 0.228);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
}

/* Design Fix - 24 APR: HIW Step Cards */
.hiw-step-card {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.hiw-image-wrapper {
  position: relative;
  height: 420px;
  background: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 32px;
}

.hiw-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 0.5s ease;
}

.hiw-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  /* Slightly taller gradient for better blend */
  background: linear-gradient(to bottom, transparent, #fff 80%);
  pointer-events: none;
  z-index: 2;
}

.hiw-text-content {
  padding: 0 32px 40px;
  margin-top: auto;
}

.hiw-step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #888;
  margin-bottom: 8px;
}

.hiw-step-title {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: -0.48px;
}

/* Design Fix - 24 APR*/

.hiw-step-desc {
  font-size: 14px;
  color: #666;
  line-height: 26px;
  margin-bottom: 0;
}

/* For Feature Section */
#feature-section {
  padding: 100px 0;
}

/* Design Fix - 24 APR: Feature Grid Separators */
.feature-grid {
  position: relative;
  border: none;
}

/* Vertical lines (only on desktop) */
@media (min-width: 992px) {
  .feature-grid::before,
  .feature-grid::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(0, 0, 0, 0.08) 15%,
      rgba(0, 0, 0, 0.08) 85%,
      transparent
    );
    z-index: 1;
  }

  .feature-grid::before {
    left: 33.33%;
  }

  .feature-grid::after {
    left: 66.66%;
  }
}

/* Horizontal line (only on desktop) */
.feature-grid-h-divider {
  display: none;
}

@media (min-width: 992px) {
  .feature-grid-h-divider {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(0, 0, 0, 0.08) 15%,
      rgba(0, 0, 0, 0.08) 85%,
      transparent
    );
    z-index: 1;
    pointer-events: none;
  }
}

.feature-item {
  padding: 60px 40px;
  height: 100%;
  position: relative;
  z-index: 2;
}

.feature-item .icon-circle {
  background: #5d78ff;
  border-radius: 100px;
  box-shadow:
    0 4px 16px 0 #d0d8ff,
    0 -7px 14px 0 rgba(255, 255, 255, 0.19) inset;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
}

.feature-item .icon-circle img {
  filter: brightness(0) invert(1);
  /* Ensure white icon */
  width: 28px;
  height: 28px;
}

.feature-item h3 {
  color: var(--foreground-primary);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.48px;
  font-size: 22px;
}

.feature-item .desc-text {
  color: var(--Foreground-Secondary, #505050);
  text-align: center;
  font-family: var(--Mareana-Primary, Poppins);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 190%;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eff2ff;
}

.hero-pill-outer .icon-circle img {
  width: 16px;
  height: 16px;
}

.processing-label-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.icon-circle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* How It Works: maintain card spacing on tablets */
@media (min-width: 768px) and (max-width: 991px) {
  #how-it-works .col-lg-4 {
    margin-bottom: 16px;
  }

  #how-it-works .col-lg-4:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .feature-grid > .col-lg-4,
  .feature-grid > .col-md-6 {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .feature-grid > .col-lg-4:nth-child(2n + 1),
  .feature-grid > .col-md-6:nth-child(2n + 1) {
    border-right: none;
  }

  .feature-grid > .col-lg-4:nth-last-child(-n + 2),
  .feature-grid > .col-md-6:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .feature-item {
    padding: 30px 20px;
  }

  .feature-grid > .col-lg-4,
  .feature-grid > .col-md-6 {
    border-bottom: 1px solid #eee;
  }

  .feature-grid > .col-lg-4:last-child,
  .feature-grid > .col-md-6:last-child {
    border-bottom: none;
  }
}

.metric-section {
  background: var(--black);
  padding: 80px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item h2 {
  font-size: 56px;
  font-weight: 500 !important;
  margin-bottom: 10px;
  letter-spacing: -2px;
  color: var(--foreground-white);
}

/* Design Fix - 24 APR: Metric item separators */
@media (min-width: 992px) {
  .metric-item {
    position: relative;
  }

  .metric-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 0.5px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      #fff 51.44%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .metric-item:last-child::after {
    display: none;
  }
}

.metric-item p {
  font-size: 14px;
  margin-bottom: 0;
  font-weight: normal;
  margin-top: 22px !important;
}

@media (max-width: 991px) {
  .metric-section {
    padding: 0px 24px;
  }

  .metric-item {
    margin-bottom: 0;
  }

  .metric-item:last-child {
    margin-bottom: 0;
  }

  .metric-item h2 {
    font-size: 42px;
  }
}

.metric-section {
  background: var(--mareana-primary);
  color: #fff;
  padding: 0 0;
}

@media (min-width: 992px) {
  .metric-section {
    background: var(--mareana-primary);
    color: #fff;
    padding: 30px 0;
  }
  /* .metric-item {
        margin-bottom: 40px;
    } */
}

.metric-item {
  padding: 30px 20px;
}

.metric-item h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 10px;
}

.metric-item p {
  font-size: 16px;
  margin: 0;
}

/* Keep stats content width controlled on large screens */
@media (min-width: 1200px) {
  .metric-section .container-fluid {
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 992px) {
  .metric-item {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .metric-item:last-child {
    border-right: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .metric-item {
    margin-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .metric-item:nth-child(2n) {
    border-right: none;
  }

  .metric-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .metric-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .metric-item:last-child {
    border-bottom: none;
  }
}

/* Workflow Section */
.workflow-section {
  padding: 100px 0;
  overflow: hidden;
  /* Prevent arrows from causing overflow */
}

/* Design Fix - 24 APR: Workflow Container Box */
.workflow-container-box {
  border-radius: 16px;
  border: 1px solid var(--Border, #e7e7e7);
  background: var(--Mareana-Neutral, #f1f3f7);
  padding: 12px;
}

/* Design Fix - 24 APR: Workflow Card */
.workflow-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: none;
  /* Removed shadow for cards inside container */
  display: flex;
  flex-direction: column;
}

/* Design Fix - 24 APR: Workflow Card Heading */
.workflow-card h3 {
  color: var(--Foreground-Primary, #1a181b);
  font-family: var(--Mareana-Primary, Poppins);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -1.1px;
}

/* fake UI */
.fake-input {
  background: #f8f8f8;
  /* Slightly lighter for disabled look */
  padding: 10px 12px;
  padding-right: 30px;
  border-radius: 8px;
  position: relative;
  font-size: 14px;
  border: 1px solid #eee;
}

.fake-input::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center;
  opacity: 0.3;
  /* Lower opacity to keep the disabled feel with black color */
}

/* Design Fix - 24 APR: Discrete placeholder lines */
.lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.line-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.line-label,
.line-value {
  flex: 1;
  height: 12px;
  background: #f1f1f1;
  border-radius: 6px;
}

.color-bars {
  display: flex;
  gap: 10px;
}

.bar {
  height: 12px;
  flex: 1;
  border-radius: 6px;
}

.bar1 {
  background: #ccc;
}

.bar2 {
  background: #f5b971;
}

.bar3 {
  background: #ffd84d;
}

.bar4 {
  background: #2ecc71;
}

/* center list */
.workflow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.workflow-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fa;
  padding: 6px 12px 6px 6px;
  border-radius: 40px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.workflow-list li:hover {
  background: #f0f2f5;
  transform: translateX(5px);
}

.check-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 18px;
  height: 18px;
}

/* graph */
.ckg-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.ckg-visual {
  width: 100%;
  object-fit: contain;
}

/* bottom flow */
.workflow-flow-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
}

.flow-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 40px;
}

.flow-step:first-child {
  padding-left: 0;
}

.flow-step:last-child {
  padding-right: 0;
}

.flow-pill {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 40px;
  background: linear-gradient(90deg, #1a181b 0%, #505050 100%);
  color: #fff;
  font-weight: 400;
  font-size: 15px;
  z-index: 2;
}

.flow-pill.dark {
  background: #1a181b;
}

.flow-pill.primary {
  background: var(--bg-gradient);
}

.flow-arrow {
  position: absolute;
  right: -35px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: auto;
  opacity: 1;
  z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .workflow-flow-inner {
    flex-direction: column;
    gap: 20px;
  }

  .flow-arrow {
    display: none;
  }
}

/* Special Handwriting Font Area */
.ink-blue-data {
  font-family: "Just Me Again Down Here", cursive;
  color: #3719a5;
  /* Ink Blue */
  font-size: 28px;
  font-weight: 400;
}

.workflow-flow-container {
  background: #f1f3f7;
  padding: 3px;
  border-radius: 40px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.workflow-bottom-row {
  justify-content: space-between;
}

@media (min-width: 992px) {
  .workflow-bottom-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .workflow-bottom-row > .workflow-flow-col {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 991px) {
  .workflow-flow-container {
    display: none !important;
  }
}

.comparison-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--mareana-border);
}

.comparison-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  margin-top: -1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 992px) {
  .comparison-card-title {
    min-height: 80px;
    margin-top: -3rem;
    margin-left: -3rem;
    margin-right: -3rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.comparison-right .comparison-card-title {
  border-color: rgba(255, 255, 255, 0.15);
}

.comparison-left {
  background: white;
  text-align: left;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  position: relative;
  padding-left: 38px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 22px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* Default cross icon */
.comparison-list-left li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDIuMjVDNi42MTUgMi4yNSAyLjI1IDYuNjE1IDIuMjUgMTJDMi4yNSAxNy4zODUgNi42MTUgMjEuNzUgMTIgMjEuNzVDMTcuMzg1IDIxLjc1IDIxLjc1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DkuMDA1MjMgMTMuOTYzNSA5LjA0NjIyQzEzLjg3MTUgOS4wODcyMSAxMy43ODg3IDkuMTQ2MzEgMTMuNzIgOS4yMkwxMiAxMC45NEwxMC4yOCA5LjIyWiIgZmlsbD0iIzk5OTk5OSIvPgo8L3N2Zz4=");
}

.comparison-list.success li {
  color: #eaeaea;
}

.comparison-list.success li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguNjAzIDMuNzk5QzkuMDI0OTYgMy4zMTIyMyA5LjU0NjczIDIuOTIxOTYgMTAuMTMyOSAyLjY1NDY4QzEwLjcxOSAyLjM4NzQxIDExLjM1NTggMi4yNDkzOSAxMiAyLjI1QzEzLjM1NyAyLjI1IDE0LjU3MyAyLjg1IDE1LjM5NyAzLjc5OUMxNi4wMzk3IDMuNzUzMTEgMTYuNjg0NyAzLjg0NjA5IDE3LjI4ODMgNC4wNzE2MUMxNy44OTE5IDQuMjk3MTMgMTguNDM5OSA0LjY0OTkyIDE4Ljg5NSA1LjEwNkMxOS4zNTA5IDUuNTYxMDYgMTkuNzAzNiA2LjEwODg4IDE5LjkyOTEgNi43MTIyNkMyMC4xNTQ2IDcuMzE1NjQgMjAuMjQ3NyA3Ljk2MDQ3IDIwLjIwMiA4LjYwM0MyMC42ODg2IDkuMDI1MDUgMjEuMDc4NyA5LjU0Njg2IDIxLjM0NTggMTAuMTMzQzIxLjYxMjkgMTAuNzE5MSAyMS43NTA3IDExLjM1NTkgMjEuNzUgMTJDMjEuNz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IgMTAuOTkyIDE1LjcwMzZDMTEuMDk0MiAxNS43NDExIDExLjIwMzMgMTUuNzU1OSAxMS4zMTE4IDE1Ljc0NjlDMTEuNDIwMiAxNS43MzggMTEuNTI1NSAxNS43MDU1IDExLjYyMDEgMTUuNjUxOUMxMS43MTQ4IDE1LjU5ODIgMTEuNzk2NyAxNS41MjQ1IDExLjg2IDE1LjQzNkwxNS42MSAxMC4xODZaIiBmaWxsPSIjRkZGRkZGIi8+Cjwvc3ZnPg==");
}

@media (max-width: 767px) {
  .comparison-right {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
  }
}

.comparison-right {
  text-align: left;
}

.ocr-section {
  padding: 100px 0;
}

.comp-logo {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.comparison-right {
  background-color: #000000 !important;
  position: relative;
  overflow: hidden;
}

.comparison-light-ray {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.comparison-left > .p-4,
.comparison-right > .p-4 {
  padding-bottom: 20px !important;
}

@media (min-width: 992px) {
  .comparison-left > .p-lg-5,
  .comparison-right > .p-lg-5 {
    padding-bottom: 30px !important;
  }
}

.comparission-section {
  margin-top: 80px;
}

/* Keep comparison blocks top/bottom on tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .comparission-section .comparison-card .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .comparission-section .comparison-right {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.more-features-container {
  padding: 100px 0;
  background: #f6f7f9;
}

.feature-block {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  min-height: 600px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: sticky;
  top: 100px;
  z-index: 1;
  transform-origin: center top;
  will-change: transform;
}

.feature-block:nth-child(n) {
  z-index: auto;
}

.feature-block .row {
  flex: 1;
  min-height: inherit;
}

.feature-text-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
}

.feature-text-col h2 {
  letter-spacing: -1.12px;
  font-size: 28px;
  line-height: 1.5;
}

.feature-text-col .link-arrow {
  margin-top: auto !important;
  margin-bottom: 10px;
  padding-top: 20px;
}

.feature-visual-col {
  padding: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

@media (max-width: 991px) {
  .feature-block .tags {
    display: none;
  }
}

.tags span {
  background: #fafafa;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 16px;
}

.link-arrow {
  color: var(--mareana-primary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.link-arrow svg {
  transition: transform 0.3s ease;
}

.link-arrow:hover {
  color: var(--mareana-secondary);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* LINED SLOGAN DESIGN */
.lined-slogan-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  color: #6c757d;
  font-size: 16px;
  font-weight: 400;
}

.slogan-line-group {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 6px;
  margin-bottom: 1rem;
}

.slogan-line-group.left {
  justify-content: flex-end;
}

.slogan-line-group.right {
  justify-content: flex-start;
}

.slogan-horizontal-line {
  height: 1px;
  flex: 1;
  max-width: 300px;
}

/* Design Update - 26 APR: Slogan Lines (Default Dark) */
.slogan-line-group.left .slogan-horizontal-line {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.15) 100%
  );
}

.slogan-line-group.right .slogan-horizontal-line {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.slogan-v-line {
  width: 1px;
  background: rgba(0, 0, 0, 0.15);
}

.slogan-v-line.short {
  height: 8px;
}

.slogan-v-line.medium {
  height: 14px;
}

.slogan-v-line.tall {
  height: 20px;
}

.lined-slogan-text {
  flex-shrink: 0;
  white-space: nowrap;
}

.slogan-focus-text {
  color: #000000;
  font-weight: 500;
}

.main-homepage .ocr-section .lined-slogan-container {
  gap: 25px;
}

.main-homepage .ocr-section .slogan-v-line {
  background: rgba(0, 0, 0, 0.15);
}

.main-homepage .ocr-section .slogan-line-group.right {
  justify-content: flex-start;
}

.main-homepage .ocr-section .slogan-line-group.left .slogan-horizontal-line {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.15) 100%);
}

.main-homepage .ocr-section .slogan-line-group.right .slogan-horizontal-line {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
}

@media (max-width: 768px) {
  /* Hide decorative lines only — not the whole container (button lives here too) */
  .lined-slogan-container .slogan-line-group {
    display: none !important;
  }

  /* When container is used as a standalone slogan (no button inside), hide it */
  .lined-slogan-container:not(.cta-button-row) {
    display: none !important;
  }

  /* When container holds the CTA button, center it */
  .cta-button-row.lined-slogan-container {
    display: flex !important;
    justify-content: center !important;
  }
}

/* INVERSE COLORS FOR DARK BG (CTA) */
.slogan-line-group.inverse .slogan-v-line {
  background: rgba(255, 255, 255, 0.4);
}

.slogan-line-group.inverse.left .slogan-horizontal-line {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4) 100%
  );
}

.slogan-line-group.inverse.right .slogan-horizontal-line {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 100%
  );
}

/* CTA DECORATIVE ROUNDS */
.cta-round-outer {
  display: flex;
  width: 373px;
  height: 373px;
  padding: 60px;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  position: absolute;
  border-radius: 1000px;
  opacity: 0.6;
  background: rgb(255 255 255 / 10%);
  pointer-events: none;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.265);
}

.cta-round-inner {
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 1000px;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgba(255, 255, 255, 0.265);
}

.cta-round-outer.round-right {
  right: -190px;
  bottom: -170px;
}

.cta-round-outer.round-left {
  left: -190px;
  bottom: -170px;
}

.visual-box {
  height: 100%;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(180deg, #6580ff 0%, #fff 92.68%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Light Ray Overlay Utility - Updated APR 25*/
.light-ray-overlay {
  position: absolute;
  top: -5%;
  right: -25%;
  width: 60%;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.visual-inner-card {
  position: relative;
  z-index: 2;
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: flex;
}

.visual-box .mesh-gradient-wrapper {
  z-index: 0;
  opacity: 0.6;
}

.visual-inner-card img {
  max-width: 70%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
}

@media (max-width: 991px) {
  .feature-block {
    padding: 0;
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    margin-bottom: 24px;
    transform: none !important;
  }

  .visual-box {
    height: 200px;
  }
}

/* Feature visuals: improve tablet card height consistency */
@media (min-width: 768px) and (max-width: 991px) {
  .feature-visual-col {
    display: flex;
    min-height: 320px;
  }

  .feature-visual-col .visual-box {
    height: 100%;
    min-height: 320px;
    width: 100%;
  }
}

.hero-eyebrow-container {
  display: inline-flex;
  margin-bottom: 24px;
}

.animated-border-pill {
  position: relative;
  padding: 1px;
  border-radius: 1000px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: inline-block;
}

.animated-border-pill::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #6580ff 0%, transparent 75%);
  offset-path: rect(0 0 100% 100% round 1000px);
  animation: shimmer-orbit 8s linear infinite;
  z-index: 1;
  filter: blur(2px);
}

@keyframes shimmer-orbit {
  from {
    offset-distance: 0%;
  }

  to {
    offset-distance: 100%;
  }
}

.eyebrow-inner {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  border-radius: 1000px;
  padding: 6px 20px 6px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.eyebrow-icon-circle {
  width: 32px;
  height: 32px;
  background: var(--bg-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eyebrow-icon-circle svg {
  color: white;
}

/* HERO PILL OUTER WRAPPER */
.hero-pill-outer {
  padding: 6px;
  border-radius: 100px;
  background: rgba(245, 245, 245, 0.53);
  display: flex;
  align-items: center;
}

.integration-section {
  padding: 100px 0;
}

.integration-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 18px 8px 8px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid var(--mareana-border);
}

/* ICON */
.integration-item .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  padding: 12px;
  box-shadow: 0 -7px 14px 0 rgba(255, 255, 255, 0.19) inset;
  filter: drop-shadow(0 4px 16px #d0d8ff);
  overflow: hidden;
}

.integration-item .icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.integration-item h3 {
  margin: 0;
  color: var(--Foreground-Primary, #1a181b);
  font-family: var(--Mareana-Primary, Poppins);
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.88px;
}

.integration-item p {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
}

/* RIGHT IMAGE */
.integration-visual {
  display: inline-block;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.integration-visual img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.integration-visual .light-ray-overlay {
  width: 40%;
  /* Reduced size for team section */
}

.integration-visual .mesh-gradient-wrapper {
  z-index: 0;
  opacity: 0.4;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .integration-item {
    border-radius: 16px;
  }

  .integration-item .icon {
    width: 48px;
    height: 48px;
    padding: 10px;
  }
}

.teams-section {
  padding: 100px 0;
  background: #fff;
}

/* TEAM CARD */
.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 4px;
  /* Creates the 4px gap for the inner box */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f2f2f2;
  display: flex;
  flex-direction: column;
}

/* INNER CARD BOX */
.team-card-inner {
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e7e7e7;
  background: linear-gradient(180deg, #b5c2ff 0%, #fff 49.77%);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Design Fix - 24 APR: White blurred glow from top-left corner */
.team-card-inner::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: white;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.team-card-inner .light-ray-overlay {
  width: 100%;
  opacity: 1;
  z-index: 1;
}

/* Design Fix - 24 APR: Lift card content above background elements */
.team-card-inner .team-icon-wrapper,
.team-card-inner h3,
.team-card-inner p {
  position: relative;
  z-index: 2;
}

/* ICON WRAPPER HALO */
.team-icon-wrapper {
  display: flex;
  padding: 6px;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: rgba(163, 179, 255, 0.4);
  width: fit-content;
  position: relative;
}

/* Design Fix - 24 APR: White blurred glow circle behind icon */
.team-icon-wrapper::before {
  content: "";
  position: absolute;
  left: -8px;
  top: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.team-icon-wrapper > * {
  position: relative;
  z-index: 1;
}

/* ICON CIRCLE */
.team-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6580ff 0%, #4a69ff 100%);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(101, 128, 255, 0.2);
}

/* BUTTON PILL */
.btn-pill-demo {
  display: inline-flex;
  align-items: center;
  padding: 6px 6px 6px 24px;
  background: #6580ff;
  color: #fff !important;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 12px;
}

.btn-pill-demo:hover {
  background: #4a69ff;
  transform: scale(1.05);
}

.btn-pill-demo .arrow-circle {
  width: 38px;
  height: 38px;
  background: #fff;
  color: #6580ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .teams-section {
    padding: 60px 0;
  }
}

/* Design Fix - 24 APR */
.team-title {
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* FAQ SECTION */
.faq-section {
  padding: 100px 0;
  background-color: #fbfbfb;
}

.custom-faq-accordion .accordion-item {
  border: 1px solid #e7e7e7;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 20px;
  background: #fff;
  transition: all 0.3s ease;
}

.custom-faq-accordion .accordion-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border-color: #d1d1d1;
}

.custom-faq-accordion .accordion-button {
  padding: 24px 30px;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  background-color: transparent !important;
  box-shadow: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* Override default bootstrap behavior */
.custom-faq-accordion .accordion-button::after {
  display: none;
  /* Hide default icon */
}

/* Custom + / - icon positioning */
.custom-faq-accordion .accordion-button {
  justify-content: space-between;
}

/* The circular icon wrapper placeholder */
.custom-faq-accordion .accordion-button::before {
  content: "";
  order: 2;
  width: 50px;
  height: 50px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"),
    var(--bg-gradient);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-faq-accordion .accordion-button:not(.collapsed)::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"),
    linear-gradient(180deg, #1a181b 0%, #5f5f5f 100%);
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
}

.faq-list-item .custom-faq-accordion .accordion-body {
  padding: 0 30px 30px 30px;
  color: #666;
  line-height: 1.7;
  font-size: 16px;
  text-align: left !important;
}

.need-more-info {
  text-align: left !important;
}

/* FAQ CTA BANNER */
.faq-cta-banner {
  background: #000000;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  text-align: left !important;
}

.faq-light-ray {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.faq-glow-circle {
  position: absolute;
  right: 162px;
  top: -254px;
  width: 255px;
  height: 255px;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Responsive adjustment */
@media (max-width: 767px) {
  .faq-section {
    padding: 60px 0;
  }

  .custom-faq-accordion .accordion-button {
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  .custom-faq-accordion .accordion-button::before {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
}

.need-more-info-desc {
  font-size: 14px;
  line-height: 2.5;
}

/* UNLOCK DATA SECTION */
.unlock-data-section {
  padding: 60px 0;
  background: #fff;
}

.unlock-data-card {
  background: #000000;
  color: #fff;
  border-radius: 16px;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

.cta-mesh-gradient {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.unlock-data-card::before {
  bottom: -180px;
  left: -180px;
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.02);
}

.unlock-data-card::after {
  bottom: -220px;
  right: -220px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* GLASS PILLS */
.glass-pill-feature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 8px;
  background: rgba(255, 255, 255, 0.08);
  /* Reusing the glass variable logic */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-pill-feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.check-circle-blue {
  width: 36px;
  height: 36px;
  background: var(--bg-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.check-circle-blue svg {
  width: 24px;
  height: 24px;
}

.cta-button-row {
  margin-top: 40px;
}

/* Responsive adjustment */
@media (max-width: 991px) {
  .unlock-data-section {
    padding: 60px 0;
  }

  .glass-pill-flex {
    flex-direction: column;
    align-items: center;
    gap: 15px !important;
  }

  .glass-pill-feature {
    width: 100%;
    max-width: 340px;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .unlock-data-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .section-heading,
  .hero-heading,
  .hero-heading-gradient {
    font-size: 40px !important;
  }
}

/* BLOG SECTION */
.insights-section {
  background-color: #f6f7f9;
}

/* .insights-section .section-heading {
    color: #1A181B !important
}  */

.blog-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 4px;
}

.blog-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
}

.blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-wrapper img {
  transform: scale(1.05);
}

.blog-content {
  padding: 16px;
  flex-grow: 1;
}

.blog-category-badge {
  display: inline-block;
  background: #1a181b;
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-title-card {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #000 !important;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  font-size: 14px;
  line-height: 190%;
  color: #505050;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  padding: 16px;
  border-top: 1px solid #f3f3f3;
  font-size: 13px;
  color: #888;
}

.blog-read-time {
  border-radius: 8px;
  border: 1px solid var(--Border, #e7e7e7);
  background: var(--Mareana-Neutral, #f1f3f7);
  display: flex;
  padding: 6px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #333;
  font-weight: 500;
}

/* MOBILE TYPOGRAPHY & LAYOUT OVERRIDES */
@media (max-width: 767px) {
  .container,
  .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #hero-section {
    padding: 80px 0 60px !important;
  }

  .section-heading,
  .hero-heading,
  .hero-heading-gradient {
    font-size: 28px !important;
    line-height: 1.6 !important;
    letter-spacing: -1px !important;
  }

  .hero-desc,
  .desc-text {
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .workflow-card h3 {
    font-size: 18px;
    font-weight: 500 !important;
  }

  /* HOW IT WORKS MOBILE FIX */
  #how-it-works .col-lg-4 {
    margin-bottom: 14px !important;
  }

  #how-it-works .col-lg-4:last-child {
    margin-bottom: 0 !important;
  }

  /* INFO CARD MOBILE STACKING */
  .info-card {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
  }

  .marquee span {
    font-size: 22px !important;
  }

  .info-card-separator {
    width: 60px !important;
    height: 1px !important;
    background: rgba(0, 0, 0, 0.1) !important;
    margin: 10px 0;
  }

  .visual-inner-card {
    height: 100% !important;
    min-height: 240px !important;
  }

  /* FEATURE SECTIONS MOBILE REFINEMENTS */
  .feature-text-col {
    margin: 0 !important;
    padding: 0 16px 32px 16px !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .feature-text-col h2 {
    font-size: 22px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }

  .feature-text-col .desc-text {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .feature-visual-col {
    display: block !important;
    padding: 0 !important;
    margin-bottom: 24px;
  }

  .visual-box {
    height: auto !important;
    min-height: 280px !important;
    padding: 20px !important;
    /* Slightly tighter padding so content fits snugly */
    align-items: center !important;
  }

  .light-ray-overlay {
    display: unset !important;
    /* Hide overlay on mobile to prevent overlapping visual defects */
  }

  .unlock-data-card {
    padding: 84px 20px !important;
    text-align: center;
  }

  .unlock-data-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .unlock-data-card .section-heading {
    font-size: 28px !important;
    line-height: 1.4 !important;
  }

  .unlock-data-card .need-more-info-desc {
    text-align: center !important;
  }

  .cta-button-row {
    justify-content: center;
  }

  .cta-round-outer {
    display: none;
  }
}

/* ─── 320px Small Device Fixes ─── */
@media (max-width: 380px) {
  /* GLOBAL: Prevent any horizontal overflow */
  body,
  .main-homepage {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container,
  .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* ── TYPOGRAPHY SCALE DOWN ── */
  .section-heading,
  .hero-heading,
  .hero-heading-gradient {
    font-size: 22px !important;
    line-height: 1.5 !important;
    letter-spacing: -0.5px !important;
  }

  /* Fix gradient heading forced nowrap - biggest overflow culprit */
  .hero-heading-gradient {
    white-space: normal !important;
    display: inline-block !important;
  }

  .hero-desc,
  .desc-text,
  p {
    font-size: 12px !important;
    line-height: 1.7 !important;
  }

  /* ── HERO SECTION ── */
  #hero-section {
    padding: 80px 0 48px !important;
  }

  .eyebrow-text {
    font-size: 11px !important;
  }

  .glass-container {
    padding: 8px !important;
    margin-top: 40px !important;
  }

  /* ── BUTTONS ── */
  .btn-pill {
    font-size: 14px !important;
  }

  .btn-pill .arrow-circle {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0;
  }

  .hero-buttons .btn-pill {
    padding-right: 48px !important;
  }

  /* ── PROBLEM SECTION ── */
  #problem-section {
    padding: 60px 0 !important;
  }

  .problem-eyebrow {
    font-size: 10px !important;
    letter-spacing: 2px !important;
  }

  .info-card {
    padding: 16px !important;
    gap: 16px !important;
  }

  .info-card h3 {
    font-size: 18px !important;
  }

  /* Vertical marquee */
  .marquee span {
    font-size: 18px !important;
  }

  .marquee-container {
    padding-left: 0 !important;
  }

  /* ── HOW IT WORKS ── */
  .hiw-image-wrapper {
    height: 220px !important;
  }

  .hiw-step-title {
    font-size: 16px !important;
  }

  .hiw-step-label {
    font-size: 10px !important;
  }

  .hiw-text-content {
    padding: 0 16px 24px !important;
  }

  /* ── FEATURE / MORE FEATURES SECTION ── */
  .feature-block {
    min-height: unset !important;
    position: relative !important;
    top: 0 !important;
  }

  .feature-text-col {
    padding: 20px 12px !important;
  }

  .feature-text-col h2 {
    font-size: 18px !important;
  }

  .visual-box {
    min-height: 220px !important;
  }

  /* ── OCR COMPARISON SECTION ── */
  .ocr-section {
    padding: 60px 0 !important;
  }

  .comparison-list li {
    font-size: 13px !important;
  }

  /* ── METRIC SECTION ── */
  .metric-section {
    padding: 48px 12px !important;
  }

  .metric-number {
    font-size: 36px !important;
  }

  .metric-label {
    font-size: 12px !important;
  }

  /* ── WORKFLOW SECTION ── */
  .workflow-card h3 {
    font-size: 15px !important;
  }

  .flow-step {
    padding: 12px 16px !important;
  }

  /* ── TEAMS SECTION ── */
  .team-card-inner {
    padding: 16px !important;
  }

  .team-title {
    font-size: 16px !important;
  }

  /* ── FAQ SECTION ── */
  .custom-faq-accordion .accordion-button {
    font-size: 14px !important;
    padding: 14px 16px !important;
    /* Keep justify-content: space-between so the circle stays right */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .custom-faq-accordion .accordion-button::before {
    flex-shrink: 0 !important;
    order: 2 !important;
    width: 32px !important;
    height: 32px !important;
  }

  .faq-cta-banner {
    padding: 20px 16px !important;
  }

  .faq-cta-banner h3 {
    font-size: 18px !important;
  }

  /* ── BLOG SECTION ── */
  .blog-title-card {
    font-size: 16px !important;
  }

  .blog-excerpt {
    font-size: 13px !important;
  }

  /* ── CTA / UNLOCK DATA SECTION ── */
  .unlock-data-card {
    padding: 48px 16px !important;
  }

  .unlock-data-card .section-heading {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }

  .glass-pill-feature {
    font-size: 12px !important;
    padding: 6px 6px !important;
  }

  .glass-pill-flex {
    gap: 10px !important;
  }

  .check-circle-blue {
    width: 28px !important;
    height: 28px !important;
  }

  .check-circle-blue svg {
    width: 16px !important;
    height: 16px !important;
  }

  .cta-button-row {
    margin-top: 24px !important;
  }

  /* ── DEMO TOAST (overflows on 320) ── */
  .demo-success-toast {
    min-width: unset !important;
    width: calc(100vw - 24px) !important;
  }
}

#whitePaperModal .whitepaper-modal-row {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 6px;
}

/* Whitepaper modal: extra spacing under the H3 in the form pane */
#whitePaperModal .modal-form-pane h3 {
  padding-bottom: 40px;
}

/* Whitepaper modal styling */
.whitepaper-modal label {
  font-size: 14px;
  font-weight: 400;
  color: #1a181b;
  margin-bottom: 8px;
  display: block;
}

.whitepaper-modal label .text-danger {
  color: #f94e9b !important;
}

.whitepaper-modal .form-control {
  border-radius: 100px;
  padding: 14px 24px;
  border: 1px solid #e7e7e7;
  background: rgba(237, 237, 237, 0.26);
  /* margin-bottom: 20px; */
  font-size: 15px;
  transition: background 0.2s ease;
}

.whitepaper-modal-email-field {
  margin-top: 20px;
}

@media (max-width: 991px) {
  .whitepaper-modal-email-field {
    margin-top: 0px;
  }
}

.whitepaper-modal .form-control:not(:placeholder-shown),
.whitepaper-modal .form-control:focus,
.whitepaper-modal .form-control:active {
  background: #ffffff !important;
}

/* Override browser autofill yellow background */
.whitepaper-modal .form-control:-webkit-autofill,
.whitepaper-modal .form-control:-webkit-autofill:hover,
.whitepaper-modal .form-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #1a181b !important;
  border-color: #e7e7e7;
}

.whitepaper-modal .form-control:focus {
  box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
  border-color: var(--mareana-primary);
}

.whitepaper-modal .btn-submit {
  width: 100%;
  background: #6d82f5;
  /* Periwinkle blue matching screenshot */
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px;
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.whitepaper-modal .btn-submit:hover {
  background: #5a6ed9;
  /* darkened periwinkle */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
}

.toast-icon-wrapper {
  background: rgba(255, 255, 255, 0.25);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-success-toast .btn-close {
  margin: 0 !important;
}

/* 1024 laptop optimization */
@media (min-width: 992px) and (max-width: 1199.98px) {
  section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  #hero-section {
    padding-top: 80px !important;
    padding-bottom: 72px !important;
  }

  .section-heading,
  .hero-heading,
  .hero-heading-gradient {
    font-size: 34px !important;
    line-height: 1.35 !important;
  }

  .hero-desc,
  .desc-text {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  .hero-diagram {
    padding: 28px !important;
  }

  .hiw-image-wrapper {
    height: 320px !important;
    padding-top: 20px !important;
  }

  .visual-box {
    min-height: 220px !important;
    padding: 20px !important;
  }

  .feature-item {
    padding: 44px 24px !important;
  }

  .feature-text-col {
    padding: 30px !important;
  }

  .team-card-inner {
    padding: 28px !important;
  }
}

/* Design Fix - 24 APR */
@media (max-width: 991.98px) {
  /* 1. Remove margin top for header-nav */
  .header-nav.mt-4 {
    margin-top: 0 !important;
  }

  /* 2. Hide hero-pill-outer */
  .hero-pill-outer {
    display: none !important;
  }

  /* 3 & 4. Content side heights and padding */
  .feature-text-col {
    height: auto !important;
    padding-bottom: 20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* 5. Reduce section paddings */
  section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Ensure hero section padding is handled gracefully on mobile - APR 24 */
  #hero-section {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
  }

  /* 6. Integration item left padding and circle icon padding */
  .integration-item {
    padding-left: 15px !important;
  }

  .integration-item .icon {
    padding: 10px !important;
  }

  /* 7. Reduce padding for team-card-inner */
  .team-card-inner {
    padding: 20px !important;
  }

  /* 8. Center the contact us and view all blogs buttons on mobile like standard component */
  .faq-cta-banner .btn-pill,
  .insights-section .btn-pill {
    margin-top: 15px;
  }

  .faq-cta-banner .col-md-4 {
    text-align: start;
  }

  /* 9. Fix hero section animated gradient overflowing */
  #hero-section .mesh-gradient-wrapper,
  #hero-section .hero-mesh-gradient {
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  #hero-section {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
  }
}

.blog-card-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card-link:hover {
  text-decoration: none !important;
  color: inherit;
}

.text-itallic {
  font-weight: 400;
  font-style: Italic;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #505050;
}

.audit-hero-desc p {
  margin-bottom: 0px;
}

.video-cancel {
  top: 0;
  right: 0;
}

@media (max-width: 991.98px) {
  .hero-heading-gradient,
  .text-primary-gradient,
  .text-gradient {
    display: inline !important;
    white-space: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
  }
}
