/* ===========================
   CSS Variables
   =========================== */
:root {
  /* Line Heights */
  /* --lh-body: 24px;
  --lh-h2: 56px; */

  /* Colors */
  /* --color-body: #121212cc;
  --color-heading: #121212;
  --color-white: #ffffff;
  --color-black: #000000; */
  --color-purple: #7f44f4;
  --color-purple-400: #a78bfa;
  --bg-primary: #0e081b;
  --grey-300: #d1d5db;
  /* Button Colors */
  --btn-default-bg: #ff6905;
  --btn-default-hover-bg: #ff6905;
  --btn-default-color: #ffffff;
  --btn-secondary-bg: transparent;
  --btn-secondary-border: #121212;
  --btn-secondary-color: #121212;
  --btn-secondary-hover-bg: #121212;
  --btn-secondary-hover-color: #ffffff;

  /* Trust Section Colors & Backgrounds */
  --trust-bg: linear-gradient(180deg, #0e081b 50.09%, #432681 178.5%);
  --trust-accent-yellow: #ffb800;
  --trust-text-muted: rgba(255, 255, 255, 0.7);

  /* Spacing */
  --section-py: 120px;
  --trust-py: clamp(2rem, 1.5rem + 3vw, 5rem);
}

@media (max-width: 1199.98px) {
  :root {
    --section-py: 60px;
  }
}

/* ===========================
   Base / Reset
   =========================== */
.dark-section * {
  color: var(--color-white);
}

p:last-of-type {
  margin-bottom: 0;
}

.page-template-page-homepage-revamp {
  background: #fff;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

/* Desktop Styles */
.hero-section {
  position: relative;
  padding: var(--section-py) 0;
  padding-bottom: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  width: fit-content;
  padding: 5px 16px 5px 5px;
  border-radius: 8px;
  border: 1px solid #f6f6f6;
  background-color: #f1f1f1;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.hero-badge-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 3px;
  background-color: var(--btn-default-bg);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
}

.hero-badge-text {
  font-size: clamp(0.5rem, 0.58rem + 0.25vw, 0.875rem);
  font-weight: 600;
}

.hero-badge-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.hero-badge:hover .hero-badge-arrow {
  transform: translateX(3px);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: absolute;
  top: 55%;
  right: 0;
  transform: translateY(-45%);
  width: 45%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  z-index: 1;
  padding-top: 40px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* Hero Section - Media Queries */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 60px;
    display: block;
  }

  .hero-buttons {
    justify-content: center;
    gap: 10px;
  }

  .hero-content {
    text-align: center;
    align-items: center;
    margin: 0 auto 30px;
  }

  .hero-image-wrapper {
    position: static;
    width: 100%;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .image-badge-mobile {
    background-color: #f3f0ff;
    color: var(--color-purple);
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .hero-image-container {
    background-color: var(--color-purple);
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
  }

  .hero-slider {
    border-radius: 12px;
    background-color: #fff;
  }

  .hero-image-container img {
    width: 100%;
    border-radius: 12px;
    box-shadow: none;
  }

  .image-nav-mobile {
    /* display: flex; */
    display: none;
    gap: 15px;
    margin-top: 25px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .nav-arrow {
    font-size: 24px;
    color: #999;
    line-height: 0;
    margin-bottom: 4px;
  }

  .nav-btn:hover {
    background-color: #ddd;
  }
}

/* ============================================================
   TRUST SECTION
   ============================================================ */

/* Desktop Styles */
.trust-section {
  position: relative;
  z-index: 10;
  background: var(--trust-bg);
  border-bottom: 3px solid var(--color-purple);
  padding: var(--trust-py) 0;
  overflow: hidden;
}

.trust-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.trust-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.trust-title-top {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.trust-title .accent-yellow {
  color: var(--trust-accent-yellow);
  white-space: nowrap;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group .avatar {
  width: clamp(35px, 25px + 1.5vw, 55px);
  height: clamp(35px, 25px + 1.5vw, 55px);
  border-radius: 50%;
  border: 2px solid var(--color-white);
  margin-left: -15px;
  object-fit: cover;
  background-color: #eee;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

.testimonial-row {
  display: flex;
  align-items: center;
  flex-grow: 1;
  overflow: hidden;
  gap: 30px;
  position: relative;
}

.testimonial-row::before,
.testimonial-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-row::before {
  left: 0;
  background: linear-gradient(90deg, #0e081b 0%, rgba(14, 8, 27, 0) 100%);
}

.testimonial-row::after {
  right: 0;
  background: linear-gradient(270deg, #0e081b 0%, rgba(14, 8, 27, 0) 100%);
}

.testimonial-track {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: scroll-testimonials 20s linear infinite;
  width: max-content;
  will-change: transform;
}

.testimonial-row:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes scroll-testimonials {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(calc(-50% - 15px), 0, 0);
  }
}

.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 360px;
}

.testimonial-card:first-child {
  border-left: none;
  padding-left: 0;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-quote {
  line-height: 1.2;
  margin: 0;
}

.testimonial-author {
  font-size: 12px;
  color: var(--trust-text-muted);
}

/* Trust Section - Media Queries */
@media (max-width: 991.98px) {
  .trust-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-row {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .testimonial-card {
    min-width: 280px;
  }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features-section {
  position: relative;
  padding: var(--section-py) 0 0;
  /* background-color: #e8deff; */
  overflow: hidden;
}

/* Decorative Grid Background */


/* Corner Squares */
.corner-square {
  width: 60px;
  height: 60px;
  z-index: 1;
  position: relative;
  /* Now positioned by CSS Grid */
}


.features-section .feature-inner {
  background-color: #fff;
  padding: 30px;
  position: relative;
  z-index: 2;
}

/* Bootstrap Accordion Overrides */
.features-section .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: rgba(127, 68, 244, 0.2);
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 15px;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--color-purple);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-active-icon: none;
}

.features-section .accordion .accordion-header {
  letter-spacing: 0;
}

.features-section .accordion-item {
  border: none;
  border-bottom: 1px solid rgba(156, 163, 175, 0.5);
  border-radius: 0 !important;
  background: transparent;
}

.features-section .accordion-item:last-of-type {
  border-bottom: none;
}

.features-section .accordion-button {
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  font-weight: 600;
  gap: 10px;
  align-items: center;
  line-height: 1.3;
  padding: 28px 0;
  transition: all 0.3s ease;
  color: #2a1751;
}

.features-section .accordion-button::after {
  display: none;
}

.features-section .accordion-button:not(.collapsed) {
  color: var(--color-purple);
  background: transparent !important;
  box-shadow: none !important;
  padding-bottom: 5px;
}

.features-section .accordion-body {
  padding: 0 0 28px 56px;
}

.features-section .accordion-body p {
  color: #2a1751b3;
  font-weight: 500;
}

.features-section .accordion-collapse {
  transition: height 0.4s ease;
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-icon img {
  width: 100%;
  height: auto;
}

/* Software Showcase (Pinned) */
.software-showcase {
  position: absolute;
  right: 0;
  top: 60px;
  width: 50%;
  z-index: 5;
  line-height: 0;
  max-width: 800px;
  height: 100%;
}

.software-showcase img {
  width: 100%;
  display: block;
  border-top-left-radius: 20px;
  box-shadow: -10px -10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  object-fit: cover;
  object-position: left;
}

/* Features Section - Media Queries */
@media (max-width: 1399.98px) {
  .features-section .accordion-button {
    padding: 20px 0;
  }
}

@media (max-width: 991.98px) {
  .features-section {
    padding: var(--section-py) 0;
  }

  .features-section .feature-inner {
    padding: 0;
  }

  .features-section .accordion-button {
    padding: 20px 0;
  }

  /* .features-grid-bg {
    background-size: 40px 40px;
    grid-template-columns: repeat(auto-fill, 40px);
    grid-template-rows: repeat(auto-fill, 40px);
  } */

  .corner-square {
    display: none;
  }

  .section-title {
    text-align: center;
  }

  .software-showcase {
    position: relative;
    width: 100%;
    margin-top: 40px;
    padding: 0 15px;
  }

  .software-showcase img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

/* ============================================================
   DESIGN POWER SECTION
   ============================================================ */

.design-power-section {
  position: relative;
  background: linear-gradient(180deg, #0e081b 66.6%, #432681 200.72%);
  overflow: hidden;
}

.design-power-outer {
  border-left: 1px solid #49396d;
  border-right: 1px solid #49396d;
  padding: var(--section-py) 0;
  position: relative;
}

/* Dotted Vertical Grid Lines */
.design-power-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image:
    repeating-linear-gradient(to bottom, #49396d 0 8px, transparent 8px 12px),
    repeating-linear-gradient(to bottom, #49396d 0 8px, transparent 8px 12px),
    repeating-linear-gradient(to bottom, #49396d 0 8px, transparent 8px 12px),
    repeating-linear-gradient(to bottom, #49396d 0 8px, transparent 8px 12px),
    repeating-linear-gradient(to bottom, #49396d 0 8px, transparent 8px 12px),
    repeating-linear-gradient(to bottom, #49396d 0 8px, transparent 8px 12px),
    repeating-linear-gradient(to bottom, #49396d 0 8px, transparent 8px 12px);
  background-size: 1px 100%;
  background-position:
    12.5% 0,
    25% 0,
    37.5% 0,
    50% 0,
    62.5% 0,
    75% 0,
    87.5% 0;
  background-repeat: no-repeat;
  border-bottom: 1px solid #49396d;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.design-power-header {
  padding: 78px 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Slider Container with solid horizontal borders */
.design-power-slider-container {
  position: relative;
  z-index: 1;
  border-top: 1px solid #49396d;
  border-bottom: 1px solid #49396d;
  margin: 0 0 40px 0;
}

/* Swiper Slide Border */
.designPowerSwiper .swiper-slide {
  border-right: 1px solid #49396d;
  height: auto;
}

.designPowerSwiper .swiper-slide:last-child {
  border-right: none;
}

/* Power Cards */
.power-card {
  background-color: var(--bg-primary);
  padding: 40px 20px;
  height: 100%;
  transition: background-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.power-card:hover {
  background-color: #0b0614;
}

.power-card-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.power-card-image img {
  width: 100%;
  object-fit: contain;
}

.power-card-content {
  margin-top: auto;
}

.power-card p {
  color: rgba(255, 255, 255, 0.5);
}

/* Design Power - Media Queries */
@media (max-width: 1199.98px) {
  .design-power-grid {
    height: 60px;
  }

  .design-power-header {
    padding: 40px 0;
  }
}

@media (max-width: 991.98px) {
  .design-power-header {
    padding: 20px;
  }
}

@media (max-width: 575.98px) {
  .design-power-cards-wrapper {
    padding: 30px 0;
  }
}

/* ============================================================
   TRUSTED VIDEO SECTION
   ============================================================ */
/* Video thumbnail */
.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  z-index: 1;
}

.play-button {
  position: relative;
  z-index: 2;
}

.trusted-video-section {
  background-color: var(--color-white);
}

.trusted-video-outer {
  border-left: 1px solid var(--grey-300);
  border-right: 1px solid var(--grey-300);
  padding: var(--section-py) 0;
}

.video-player-container {
  max-width: 1140px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.play-button {
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.play-button:hover {
  transform: scale(1.1);
  opacity: 1;
}

.video-corner-square {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--color-purple);
  z-index: 2;
}

.video-wrapper {
  position: relative;
  border-top: 1px solid var(--grey-300);
  border-bottom: 1px solid var(--grey-300);
}

.v-square-tl {
  top: -6px;
  left: 0;
}

.v-square-tr {
  top: -6px;
  right: 0;
}

.v-square-bl {
  bottom: -6px;
  left: 0;
}

.v-square-br {
  bottom: -6px;
  right: 0;
}

/* ============================================================
   VIDEO PLAYER — NEWLY ADDED (30 Apr 2026)
   Handles the MP4 video element, play button overlay,
   pause on click, and resume. Works with #revampHeroVideo
   and #revampPlayBtn in page-homepage-revamp.php.
   JS logic is in homeDesign.js (Hero Video Player section).
   ============================================================ */

/* Video fills the frame fully */
.video-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

/* Play button overlay — centered over video, hidden when playing */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition:
    opacity 0.2s ease,
    transform 0.3s ease;
  opacity: 0.8;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.play-button svg {
  width: 70px;
  height: 70px;
}

/* ============================================================
   END — VIDEO PLAYER STYLES
   ============================================================ */

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */
.testimonial-section {
  background-color: #d9ebe0;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.testimonial-image-wrapper {
  position: relative;
  padding: 40px;
}

.testimonial-image-wrapper .tab-content {
  overflow: visible;
}

/* Decorative Green Squares */
.testimonial-decor-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background-color: #557a27;
  /* Darker green */
  z-index: 1;
}

.testimonial-decor-2 {
  position: absolute;
  top: 80px;
  right: 20px;
  width: 20px;
  height: 80px;
  background-color: #557a27;
  z-index: 1;
}

.testimonial-img-box {
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-img-box img {
  display: block;
  width: 100%;
}

.testimonial-info-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: #557a27;
  padding: 15px 30px;
  color: #ffffff;
  z-index: 3;
  min-width: 200px;
}

.testimonial-tags {
  display: flex;
  gap: 15px;
}

.testi-tag {
  background-color: var(--color-white);
  color: var(--bg-primary);
  padding: 8px 25px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testi-tag.active {
  background-color: var(--color-purple);
  color: #ffffff;
}

span#manage-tab.active {
  color: #ffffff;
  background-color: #ff6905;
}

.testi-tag[data-bs-target="#manage-content"].active,
.testi-tag[data-bs-target="#manage-content"][aria-selected="true"] {
  background-color: #ff6905;
  color: #ffffff;
}

.testimonial-quote-text {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.3rem);
  color: #2f4f2f;
  line-height: normal;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .testimonial-image-wrapper {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-content-wrapper {
    text-align: center;
  }

  .testimonial-tags {
    justify-content: center;
  }

  .testimonial-info-box {
    right: 0;
    bottom: -20px;
  }
}

/* ============================================================
   FOYR MANAGE LIVE SECTION
   ============================================================ */
.manage-live-section {
  background: linear-gradient(180.69deg, #0e081b 64.7%, #432681 196.55%);
  position: relative;
  overflow: hidden;
  /* Create a more subtle 24px technical notched corner look on all 4 corners */
  clip-path: polygon(0 24px,
      24px 24px,
      24px 0,
      calc(100% - 24px) 0,
      calc(100% - 24px) 24px,
      100% 24px,
      100% calc(100% - 24px),
      calc(100% - 24px) calc(100% - 24px),
      calc(100% - 24px) 100%,
      24px 100%,
      24px calc(100% - 24px),
      0 calc(100% - 24px));
  margin-top: -24px;
  /* Aligns with the new 24px notch height */
}

.manage-live-content-outer {
  padding: var(--section-py) 0;
}

.manage-grid-dots {
  position: absolute;
  inset: 0;
  /* Technical grid with 32px spacing to match blueprint look */
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px,
      transparent 1.5px);
  background-size: 32px 32px;
  opacity: 1;
}

.manage-title {
  color: #ffffff;
}

.manage-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Visual Area */
.manage-visual-container {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  min-height: 550px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.agent-image-box {
  position: relative;
  width: 350px;
  z-index: 5;
}

.agent-img {
  width: 100%;
  display: block;
}

.integration-item {
  position: absolute;
  z-index: 6;
  animation: iconFloat 4s ease-in-out infinite alternate;
}

/* Ultra-Rapid & Varied Animation Durations for heartbeat feel */
.item-whatsapp {
  animation-duration: 1s;
  animation-delay: -1s;
}

.item-email {
  animation-duration: 1.6s;
  animation-delay: -2.5s;
}

.item-drive-left {
  animation-duration: 0.8s;
  animation-delay: -0.5s;
}

.item-calendar {
  animation-duration: 1.3s;
  animation-delay: -3.2s;
}

.item-qb {
  animation-duration: 1.1s;
  animation-delay: -4s;
}

.item-drive-right {
  animation-duration: 1.8s;
  animation-delay: -1.5s;
}

@keyframes iconFloat {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.icon-circle img {
  width: 40px;
  height: 40px;
}

.notif-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff4b5c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  border: 2px solid #ffffff;
}

/* Icon Positions - matching screenshot layout */
/* Left Side */
.item-email {
  top: 16%;
  left: 22%;
}

/* Gmail (897) - upper left, closer to center */
.item-whatsapp {
  top: 28%;
  left: 3%;
}

/* WhatsApp (785) - mid left, outer edge */
.item-drive-left {
  top: 50%;
  left: 10%;
}

/* Drive - lower left */

/* Right Side - Mirrored */
.item-calendar {
  top: 16%;
  right: 22%;
}

/* Calendar - upper right, closer to center */
.item-qb {
  top: 28%;
  right: 3%;
}

/* QuickBooks (231) - mid right, outer edge */
.item-drive-right {
  top: 51%;
  right: 10%;
}

/* Drive - lower right */

/* Connector Lines - High Fidelity Flow & Gradient Animation */
.connector-line {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.connector-line svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.connector-line path {
  stroke-opacity: 0.3;
  /* Enhanced visibility for animation */
}


.line-1 {
  top: calc(13% + 40px);
  left: calc(3% + 40px);
}

.line-2 {
  top: calc(16% + 60px);
  left: calc(3% + 60px);
}

.line-3 {
  top: calc(38% + 0px);
  left: calc(3% + 30px);
}

.line-4 {
  top: calc(27% + 0px);
  left: calc(13% + 30px);
}

.line-5 {
  top: calc(27% + 0px);
  right: calc(12% + 30px);
}

.line-6 {
  top: calc(33% + 0px);
  right: calc(6% + 30px);
}

.line-7 {
  top: calc(39% + 0px);
  right: calc(3% + 30px);
}

.line-8 {
  top: calc(21% + 0px);
  right: calc(3% + 30px);
}

.modal-line-1 {
  top: calc(28% + 30px - 1px);
  left: calc(3% + 60px);
}

.modal-line-2 {
  top: calc(49% + 70px);
  left: calc(10% + 30px);
}

.modal-line-3 {
  top: calc(16% + 60px);
  left: calc(22% + 30px);
}

.modal-line-4 {
  top: calc(16% + 62px);
  right: calc(22% + 30px);
}

.modal-line-5 {
  top: calc(51% + 60px);
  right: calc(10% + 30px);
}

.modal-line-6 {
  top: calc(28% + 60px);
  right: calc(3% + 30px);
}

/* AI Floating Modal */
.ai-floating-modal {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  width: 380px;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-label {
  color: #ffb800;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.modal-icons {
  display: flex;
  gap: 10px;
  color: #cccccc;
}

.modal-body-text {
  color: var(--bg-primary);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

/* Feature Pills */
.manage-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

/* Orange Button */
.btn-orange-primary {
  background: #ff6905;
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-orange-primary:hover {
  background: #e55a00;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 105, 5, 0.4);
}

/* Responsive */
@media (max-width: 1199.98px) {
  .line-2 {
    left: calc(2% + 32px);
  }
}

@media (max-width: 991.98px) {

  /* ── Visual container: give it a fixed height so absolute children have space ── */
  .manage-visual-container {

    padding-bottom: 100px;
    max-width: 300px;
    min-height: auto;
    /* room for the modal */
  }

  /* ── Connector lines: hide desktop SVGs, show mobile overlay ── */
  .connector-line {
    display: none;
  }

  .mobile-connector-lines {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 99;
  }

  /* Individual mob-line positioning — all sizes derived from icon positions */
  /* Icon size: 40px. Email: top=0% center. WhatsApp/Drive: top=18% edges. Calendar/QB: top=52% edges. */

  .mob-line {
    position: absolute;
    pointer-events: none;
    display: block;
    overflow: visible;
  }

  /* SVG fills the div fully — paths stretch to always connect icons */
  .mob-line svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .mob-line-1 {
    left: 50px;
    right: 0;
    top: -10px;
    height: 60px;
    max-width: 80px;
  }

  .mob-line-2 {
    right: 50px;
    top: -10px;
    height: 60px;
    max-width: 80px;
  }


  .mob-line-3 {
    left: 20px;
    top: 60px;
    height: 60px;
  }


  .mob-line-4 {
    right: 20px;
    top: 60px;
    height: 60px;
  }



  /* ── Agent image: absolutely centered, fills visual area ── */
  .agent-image-box {
    position: static;
    max-width: 150px;
    z-index: 5;
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: -45px;
  }

  .agent-image-box::before {
    background: radial-gradient(28.24% 30.88% at 50% 50%, rgba(14, 8, 27, 0) 41.83%, #0E081B 100%);
    content: "";
    position: absolute;
    top: -50px;
    bottom: 0;
    margin: 0 auto;
    text-align: center;
    width: 300px;
    align-items: center;
    justify-content: center;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
  }

  /* ── Modal: anchored at the bottom of the container ── */
  .ai-floating-modal {
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
    padding: 12px;
  }

  .modal-body-text {
    font-size: 14px;
    line-height: 1.4;
  }

  /* ── Icons row: full overlay over the visual area ── */
  .manage-icons-row {
    position: absolute;
    inset: 0;
    bottom: 160px;
    display: block;
    pointer-events: none;
    width: auto;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
  }

  /* ── All icons back to absolute ── */
  .integration-item {
    position: absolute;
    pointer-events: auto;
    z-index: 99;
    animation: iconFloat 4s ease-in-out infinite alternate;
  }

  /* ── Mobile icon sizes (larger than current 40px) ── */
  .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .icon-circle img {
    width: 36px;
    height: 36px;
  }

  .notif-badge {
    top: -8px;
    right: -8px;
    font-size: 10px;
    padding: 2px 5px;
    line-height: normal;
    border: none;
  }

  /* ── Mobile icon positions (matching screenshot) ── */
  /* Email (897) — top center */
  .item-email {
    top: -30px;
    left: 50%;
    transform: translateX(-50%) !important;
    right: auto;
  }

  /* WhatsApp (785) — upper left */
  .item-whatsapp {
    top: 30px;
    left: 20px;
    right: auto;
  }

  /* Drive — upper right */
  .item-drive-left {
    top: 30px;
    right: 30px;
    left: auto;
  }

  /* Calendar — lower left */
  .item-calendar {
    top: 120px;
    left: 0;
    right: auto;
  }

  /* QB (231) — lower right */
  .item-qb {
    top: 120px;
    right: 0;
    left: auto;
  }

  /* drive-right / Slack — hidden on mobile */
  .item-drive-right {
    display: none;
  }

}

@media (min-width: 992px) {
  .manage-icons-row {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .integration-item {
    pointer-events: auto;
  }

  .mobile-connector-lines {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .manage-visual-container {
    min-height: auto;
  }



  .manage-features-grid {
    gap: 10px;
  }
}

/* Blueprint Container for Manage Section */
.manage-blueprint-section {
  position: relative;
}

.manage-blueprint-inner {
  position: relative;
}

.manage-blueprint-outer {
  border-left: 1px solid var(--grey-300);
  border-right: 1px solid var(--grey-300);
  padding: var(--section-py) 0;
}

.manage-blueprint-outer::after {
  content: "";
  border-top: 1px solid var(--grey-300);
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
}

.manage-blueprint-outer::before {
  content: "";
  border-bottom: 1px solid var(--grey-300);
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

.manage-blueprint-top-bottom {
  padding: 60px;
  position: relative;
}

.blueprint-tab-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.blueprint-tab {
  background-color: var(--bg-primary);
  color: #fb923c;
  padding: 8px 30px;
}

.bp-accent {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 15;
}

.bp-accent-tl {
  top: -20px;
  left: 0px;
  background-color: var(--color-purple);
}

.bp-accent-br {
  bottom: 0;
  right: 0;
  background-color: #ff6905;
}

/* Refined Manage Section Styles */

.manage-features-grid .feature-capsule {
  cursor: default;
}

.manage-features-grid .feature-capsule:hover {
  transform: none;
  box-shadow: 0 0 20px rgba(255, 105, 5, 0.2);
}

/* Responsive adjustment */
@media (max-width: 991.98px) {
  .manage-blueprint-inner {
    margin: 0 15px;
    /* Add margin to prevent accents from touching screen edges */
  }

  .manage-blueprint-outer::after {
    top: 60px;
  }

  .manage-blueprint-outer::before {
    bottom: 60px;
  }

  .manage-blueprint-top-bottom {
    padding: 30px 0;
  }

  .bp-accent-tl {
    top: -5px;
    left: -5px;
  }

  .bp-accent-br {
    bottom: -5px;
    right: -5px;
  }
}

/* ===========================
   Blog Posts Slider Section
   =========================== */
.blog-section {
  position: relative;
  background-color: #faf8f5;
  overflow: hidden;
}

.blog-title {
  background: #faf8f5;
  padding: 0;
  max-width: 480px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

.blog-outer {
  border-left: 1px solid var(--grey-300);
  border-right: 1px solid var(--grey-300);
  padding: 95px 60px;
  position: relative;
}

.blog-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1330px;
  /* Multiples of 95px (14 cells) */
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.blog-bg .bg-lines {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 0 V 120 M 0 0 H 120' fill='none' stroke='%23d5d5d5' stroke-width='1' stroke-dasharray='4,4'/%3E%3C/svg%3E");
  background-size: 95px 95px;
  background-position: left top;
}

.swiper-slide {
  height: auto;
  /* Allow slides to match tallest one */
}

/* Blog Cards - Requested Glass Effect */
.blog-card {
  background: rgb(215 215 215 / 20%);
  border: 1px solid #ffffff;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border-radius: 0;
}

.blog-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.blog-img-box {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  padding: 15px 15px 0 15px;
  /* Technical padding like screenshot */
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.blog-card-content {
  flex: 1;
  /* Pushes content to fill space */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-card-excerpt {
  color: var(--btn-secondary-color);
}

/* Blog Card Badges */
.blog-badge-wrapper {
  background: #f1ecff;
  display: inline-flex;
  align-items: center;
  padding: 5px 4px 5px 12px;
  gap: 12px;
}

.blog-category {
  font-size: 14px;
  font-weight: 500;
  color: #1a0b47;
}

.blog-read-time {
  background: #7f44f4;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 0px 8px;
}

/* Swiper Custom Navigation */
.blog-nav-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 10;
  padding-bottom: 10px;
}

.blog-prev-btn,
.blog-next-btn {
  width: 50px;
  height: 50px;
  background: #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-prev-btn:hover,
.blog-next-btn:hover {
  background: var(--color-purple);
  color: #fff;
  transform: scale(1.1);
}

.blog-prev-btn.swiper-button-disabled,
.blog-next-btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .blog-outer {
    padding: 60px 20px;
  }
}

/* ===========================
   Trending Topics Section
   =========================== */
.trending-topics-section {
  padding: 100px 0;
}

.trending-links-wrapper {
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.6;
}

.trending-link {
  text-decoration: none !important;
  padding: 0 4px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
  position: relative;
  font-weight: 400;
}

.trending-link:hover {
  color: var(--color-purple);
}

/* Subtle animated underline on hover */
.trending-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 4px;
  right: 4px;
  height: 1px;
  background-color: var(--color-purple);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: right;
  opacity: 0.6;
}

.trending-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 991.98px) {
  .trending-topics-section {
    padding: 60px 0;
  }
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works-section {
  position: relative;
  padding: var(--section-py) 0 180px;
  background-color: #f0eaff;
  overflow: hidden;
}

.how-it-works-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#e5dafd 1px, transparent 1px),
    linear-gradient(90deg, #e5dafd 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  pointer-events: none;
}

.steps-main-title {
  background: #f0eaff;
  color: #40227a;
  padding: 30px;
  max-width: 1020px;
  /* Aligns to exactly 17 grid cells (1020 / 60) */
  margin: 0 auto 60px;
  /* Vertical margin aligned to grid height */
}

.grid-square-work {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: #7f44f4;
  pointer-events: none;
  z-index: 0;
}

/* Specific positions for How It Works section based on screenshot */
.sq-w-1 {
  top: 180px;
  left: calc(50% - 630px);
  opacity: 0.8;
}

.sq-w-2 {
  bottom: 64px;
  left: calc(50% - 630px);
  opacity: 0.12;
}

.sq-w-3 {
  top: 60px;
  right: calc(50% - 630px);
  opacity: 0.12;
}

.sq-w-4 {
  bottom: 124px;
  right: calc(50% - 570px);
  opacity: 0.8;
}

.sq-w-5 {
  bottom: 64px;
  left: calc(50% - 210px);
  width: 420px;
  /* 7 grid cells wide, centered to mid-cell origin */
  opacity: 0.12;
}

.step-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 12px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(127, 68, 244, 0.05);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-card-img {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16/11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.step-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.step-card-content {
  padding: 0 15px 20px;
}

.step-card-content h3 {
  color: #2a1751;
  margin-bottom: 12px;
  font-weight: 600 !important;
}

.step-card-content p {
  color: rgba(42, 23, 81, 0.6);
}

@media (max-width: 767.98px) {

  .steps-main-title,
  .segments-main-title {
    padding: 10px;
  }
}

/* ============================================================
   SEGMENTS SECTION (NEO ADAPTS)
   ============================================================ */
.segments-section {
  position: relative;
  padding: var(--section-py) 0;
  background-color: rgba(254, 254, 255, 1);
  overflow: hidden;
}

.segment-card {
  border-radius: 8px;
  height: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.how-it-segments-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#e7dbff6b 1px, transparent 1px),
    linear-gradient(90deg, #e7dbff6b 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  pointer-events: none;
}

.segments-main-title {
  background: #fcfbfd;
  padding: 30px;
  max-width: 1020px;
  /* Aligns to exactly 17 grid cells (1020 / 60) */
  margin: 0 auto 60px;
  /* Vertical margin aligned to grid height */
}

.segment-card:hover {
  transform: translateY(-10px);
}

.segment-title {
  padding: 30px;
  font-weight: 700 !important;
  font-size: 24px;
}

.segment-img {
  margin-top: auto;
}

.segment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.bg-mint {
  background-color: #d8ede0;
}

.bg-purple-light {
  background-color: #f8e0fb;
}

.bg-peach {
  background-color: #ffe1cd;
}

.bg-blue-light {
  background-color: #d0e6ff;
}

@media (max-width: 991.98px) {
  .segment-card {
    height: 400px;
  }

  .how-it-works-section {
    padding: var(--section-py) 0;
  }

  .step-card {
    padding: 0;
  }

  .how-it-works-bg .grid-square-work {
    display: none;
  }
}

/* ============================================================
   Feature SECTION
   ============================================================ */

/* Feature Capsules */
.feature-capsules-wrapper {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-width: 540px;
}

.feature-capsule {
  background:
    linear-gradient(#3d1a00, #3d1a00) padding-box,
    linear-gradient(190deg, #ffffff 0%, #ff6905 50%, #ff6905 100%) border-box;
  border: 1px solid transparent;
  padding: 10px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
}

.capsule-icon {
  font-size: 22px;
  color: #ff6905;
  display: flex;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1399.98px) {
  .image-box {
    max-width: 450px;
  }

  .feature-capsule {
    padding: 10px 15px;
  }
}

@media (max-width: 991.98px) {
  .feature-capsules-wrapper {
    position: static;
    transform: none;
    min-width: auto;
  }
}

/* ============================================================
   GRID SQUARE DECORATIONS
   ============================================================ */
.grid-square {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: #7f44f4;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* Left Side - Staggered */
.sq-1 {
  top: 60px;
  left: calc(50% - 570px);
}

.sq-2 {
  top: 120px;
  left: calc(50% - 630px);
}

/* Right Side - Staggered */
.sq-3 {
  top: 120px;
  right: calc(50% - 570px);
}

.sq-4 {
  top: 180px;
  right: calc(50% - 630px);
}