/*-----------------------------------*\
  #Hero Section
\*-----------------------------------*/

.hero {
  position: relative;
  padding-block: var(--section-padding);
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.section-subtitle {
  position: relative;
  font-family: var(--font-family-helvetica);
  font-size: var(--font-size-sm);
  color: #ffffff;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-tight);
}

.section-subtitle::after {
  content: url("../images/separator.svg");
  display: block;
  width: 100px;
  margin-inline: auto;
  margin-block: var(--space-sm) var(--space-md);
}

/* Hero Section Heading and Subheading */
.hero-title {
  font-size: var(--hero-title-size);
  font-family: var(--font-family-helvetica);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: #ffffff;
  text-align: center;
}

.hero-text {
  font-size: var(--font-size-base);
  font-family: var(--font-family-helvetica);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: #ffffff;
  text-align: center;
  margin-block: var(--space-sm) var(--space-xl);
}

.hero .btn {
  margin-inline: auto;
}

/* --------------------------------------------------------- */
/* Next and Prev Button */

.hero .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #b3b3b3;
  color: #000000;
  padding: var(--space-sm);
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
  z-index: 2;
}

.hero .slider-btn:hover {
  background: #2a2a2a;
  color: #ffffff;
}

.hero .slider-btn ion-icon {
  font-size: 20px;
}

.hero [data-prev-btn] {
  left: var(--space-2xl);
}

.hero [data-next-btn] {
  right: var(--space-2xl);
}

/* --------------------------------------------------------- */
/* Hero Section Slider */

.hero .slider-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  padding-block-start: 100px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-3);
  z-index: 1;
}

.hero .slider-item.active {
  opacity: 1;
  visibility: visible;
}

.hero .slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.15);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.hero .slider-item.active .slider-bg {
  animation: smoothScale 7s linear forwards;
}

@keyframes smoothScale {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

/* --------------------------------------------------------- */
/* Book a free consultation Styling */

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.hero-btn {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 2;
  background-color: #b3b3b3;
  width: min-content;
  height: auto;
  padding: var(--space-sm);
  transform: scale(0.6);
}

.hero-btn img {
  margin-inline: auto;
  margin-block-end: var(--space-xs);
}

.hero-btn .span {
  color: #000000;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
}

.hero-btn::after {
  inset: 0;
  border: 1px solid #b3b3b3;
  animation: rotate360 15s linear infinite;
}

@keyframes rotate360 {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(1turn);
  }
}

/* Book a Slot Styling End */

.slider-reveal {
  transform: translateY(30px);
  opacity: 0;
}

.hero .slider-item.active .slider-reveal {
  animation: sliderReveal 1s ease forwards;
}

@keyframes sliderReveal {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero .slider-item.active .section-subtitle {
  animation-delay: 500ms;
}

.hero .slider-item.active .hero-title {
  animation-delay: 1000ms;
}

.hero .slider-item.active .hero-text {
  animation-delay: 1.5s;
}

.hero .slider-item.active .btn {
  animation-delay: 2s;
}

/* Small screens (below 575px) */
@media (max-width: 575px) {

  /* Remove arrows on small screens */
  .hero .slider-btn {
    display: none;
  }

  .hero-btn {
    display: none;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-text {
    padding: 0 10px;
  }


}

/* Tablets and small desktops (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero {
    min-height: 85vh;
  }
}

/* Desktops (1200px and above) */
@media (min-width: 1200px) {
  .hero {
    min-height: 130vh;
  }
}

/* Large desktops (1400px and above) */
@media (min-width: 1400px) {
  .hero {
    min-height: 130vh;
  }
}


/* ================================================================= */
/*-----------------------------------*\
  #CATEGORY
\*-----------------------------------*/

.category {
  padding: 120px 10px 0px;
}

.category-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl) var(--space-md);
}

.category-card .card-title {
  font-size: var(--font-size-xl);
  font-family: var(--font-family-helvetica);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-tight);
  color: var(--background-tint);
  text-align: center;
  margin-block-end: 10px;
  transition: var(--transition-2);
}

.category-card:is(:hover, :focus-visible) .card-title {
  color: var(--white);
}

.category-item {
  max-width: calc(50% - var(--space-md) / 2);
  cursor: default;
}

.category-card {
  position: relative;
}

/* Media Queries for Category Section */
@media (min-width: 575px) {
  .category-item {
    max-width: 235px;
  }
}

@media (min-width: 768px) {
  .section {
    position: relative;
  }
}

@media (min-width: 992px) {
  .category {
    --section-space: 60px;
  }

  .category-card .card-banner {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -20px);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-2);
  }

  .category-card:is(:hover, :focus-visible) .card-banner {
    transform: translate(-50%, 0);
    visibility: visible;
    opacity: 1;
  }

  .category-item {
    min-width: max-content;
  }

  .category-list {
    row-gap: 0;
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .category-list {
    column-gap: var(--space-lg);
  }

  .category-card .card-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1400px) {
  .category .container {
    padding-inline: var(--space-2xl);
  }

  .category-card .card-title {
    font-size: var(--font-size-3xl);
  }
}

/* ============================================================================= */
/* Tech Stack Section */

.tech-stack-wrapper {
  position: relative;
  width: 100%;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  background-attachment: fixed;
  padding: 60px 0px;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}

.tech-stack-wrapper *,
.tech-stack-wrapper *::before,
.tech-stack-wrapper *::after {
  box-sizing: border-box;
}

/* Floating background elements */
.tech-stack-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tech-stack-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle,
      var(--color-background) 0%,
      transparent 70%);
}

.tech-stack-bg-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation: floatCircle1 8s ease-in-out infinite;
}

.tech-stack-bg-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
  animation: floatCircle2 6s ease-in-out infinite reverse;
}

.tech-stack-bg-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 10%;
  animation: floatCircle3 10s ease-in-out infinite;
}

@keyframes floatCircle1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(50px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-30px, 40px) rotate(240deg);
  }
}

@keyframes floatCircle2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-40px, -50px) scale(1.1);
  }
}

@keyframes floatCircle3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(30px, -20px) rotate(180deg);
  }
}

/* Main container */
.tech-stack-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

/* Header section */
.tech-stack-header {
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-stack-title {
  font-family: var(--font-family-montserrat);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.tech-stack-subtitle {
  font-family: var(--font-family-helvetica);
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

/* Tags container */
.tech-stack-tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-stack-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Individual tag styling */
.tech-stack-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
  color: var(--color-black);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

/* Tag icon */
.tech-stack-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(45deg,
      var(--color-emphasis),
      var(--color-emphasis-hover),
      var(--color-emphasis));
  background-size: 300% 300%;
  animation: iconPulse 3s ease infinite;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tech-stack-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

@keyframes iconPulse {

  0%,
  100% {
    background-position: 0% 50%;
    transform: scale(1);
  }

  50% {
    background-position: 100% 50%;
    transform: scale(1.1);
  }
}

/* Tag hover effects */
.tech-stack-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      var(--color-emphasis-hover),
      transparent);
  transition: left 0.5s ease;
}

.tech-stack-tag:hover::before {
  left: 100%;
}

.tech-stack-tag:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--color-background-secondary);
  border-color: var(--color-emphasis-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(0, 0, 0, 0.3);
}

.tech-stack-tag:active {
  transform: translateY(-2px) scale(1.02);
  transition: transform 0.1s ease;
}

/* Divider */
.tech-stack-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg,
      var(--color-text-secondary),
      var(--color-text),
      var(--color-text-secondary));
  background-size: 300% 300%;
  border-radius: 2px;
  margin: 0 auto;
  animation: dividerFlow 4s ease infinite;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dividerFlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Loaded animation states */
.tech-stack-wrapper.loaded .tech-stack-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.tech-stack-wrapper.loaded .tech-stack-tags {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.tech-stack-wrapper.loaded .tech-stack-divider {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 1.5s;
}

/* Staggered tag animations */
.tech-stack-wrapper.loaded .tech-stack-row:first-child .tech-stack-tag:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.tech-stack-wrapper.loaded .tech-stack-row:first-child .tech-stack-tag:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
}

.tech-stack-wrapper.loaded .tech-stack-row:first-child .tech-stack-tag:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

.tech-stack-wrapper.loaded .tech-stack-row:first-child .tech-stack-tag:nth-child(4) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.9s;
}

.tech-stack-wrapper.loaded .tech-stack-row:first-child .tech-stack-tag:nth-child(5) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1s;
}

.tech-stack-wrapper.loaded .tech-stack-row:last-child .tech-stack-tag:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1.1s;
}

.tech-stack-wrapper.loaded .tech-stack-row:last-child .tech-stack-tag:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1.2s;
}

.tech-stack-wrapper.loaded .tech-stack-row:last-child .tech-stack-tag:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1.3s;
}

.tech-stack-wrapper.loaded .tech-stack-row:last-child .tech-stack-tag:nth-child(4) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1.4s;
}

/* media queries */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .tech-stack-subtitle {
    max-width: 700px;
  }
}

/* ======================================================================== */
/* Service Section */
#services-page {
  background: var(--color-background);
  position: relative;
  width: 100%;
  padding: 40px 0;
}

.services-section {
  padding-left: var(--space-md);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.main-title {
  color: var(--color-text);
  font-size: var(--font-size-3xl);
  font-family: var(--font-family-montserrat);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 2.5rem;
}

.main-title span {
  display: inline-block;
}

/* Service Introduction */
.service-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: end;
  align-items: flex-start;
  padding: var(--space-md);
  padding-top: 0;
  padding-bottom: var(--section-space);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.service-label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding-top: 0.5rem;
}

.service-description {
  max-width: 600px;
}

.service-description p {
  font-family: var(--font-family-helvetica);
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
}

/* Sticky Container */
.sticky-container {
  position: relative;
  width: 100%;
}

.sticky-section {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  padding: var(--space-md);
  transition: background-color 0.6s ease;
}

/* Content Structure */
.section-content {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: flex-start;
  width: 100%;
}

/* Section Number */
.section-number {
  color: var(--color-text);
  font-family: var(--font-family-montserrat);
  font-size: var(--font-size-xl);
  transition: all 0.6s ease;
  letter-spacing: 0.05em;
}

/* Section Content - FIXED INITIAL STATES */
.section-details {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vh, 2rem);
}

.section-title {
  font-size: var(--font-size-xl);
  font-family: var(--font-family-montserrat);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-text {
  font-family: var(--font-family-helvetica);
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 600px;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}

/* Service List */
.service-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vh, 1.5rem);
  margin-top: clamp(1rem, 3vh, 2rem);
}

.service-item {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(0.75rem, 1.5vh, 1rem);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  position: relative;
}

.service-item:hover {
  color: var(--color-text);
  transform: translateX(5px);
  border-bottom-color: var(--color-emphasis-hover);
}

.service-item:last-child {
  border-bottom: none;
}

.service-number {
  font-size: var(--font-size-md);
  color: var(--color-text);
  font-weight: 600;
  min-width: 2rem;
  transition: opacity 0.3s ease;
}


/* Responsive Design */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 150px 1fr;
    gap: clamp(2rem, 6vw, 4rem);
  }
}

@media (max-width: 768px) {
  .service-intro {
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .service-label {
    margin-bottom: 0.5rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2rem);
    text-align: left;
  }

  .section-number {
    margin-bottom: 0.5rem;
  }

  .sticky-section {
    height: auto;
    padding: clamp(1.5rem, 4vw, 2rem);
  }
}

@media (max-width: 480px) {
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
  }

  .service-number {
    align-self: flex-start;
  }
}

/* Performance optimizations */
.sticky-section {
  will-change: transform;
}

.section-title,
.section-text,
.service-item {
  will-change: transform, opacity;
}

/* Enhanced Focus States */
.service-item:focus {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================================================================================== */

/* Key Benefits Section */
.benefits-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0px;
}

/* benefits-header */
.benefits-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.benefits-header::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: var(--color-background);
}

.benefits-header::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--color-text-secondary);
}

.benefits-eyebrow {
  font-family: var(--font-family-helvetica);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 1.3rem;
}

.benefits-title {
  font-family: var(--font-family-montserrat);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.benefits-subtitle {
  font-family: var(--font-family-montserrat);
  font-size: var(--font-size-2xl);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  background: linear-gradient(45deg,
      var(--color-text) 0%,
      var(--color-emphasis-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefits-description {
  font-family: var(--font-family-helvetica);
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* Carousel */
.carousel-benefits-container {
  position: relative;
  margin-bottom: 30px;
}

.benefits-carousel-wrapper {
  overflow: hidden;
  cursor: grab;
  position: relative;
}

.benefits-carousel-wrapper:active {
  cursor: grabbing;
}

.benefits-carousel-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-emphasis);
  z-index: 10;
}

.benefits-carousel-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-emphasis);
  z-index: 10;
}

.benefits-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.benefits-carousel-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .benefits-carousel-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .benefits-carousel-slide {
    flex: 0 0 33.333%;
  }
}

/* Benefit Cards */
.benefits-card {
  padding: 24px;
  height: 100%;
  border: 1px solid var(--color-emphasis);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.benefits-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.benefits-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-text);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.1);
}

.benefits-card:hover::before {
  transform: scaleX(1);
}

.benefits-card-number {
  font-family: var(--font-family-helvetica);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  position: relative;
}

.benefits-card-number::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-text-secondary);
}

.benefits-card-icon {
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--color-emphasis);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: var(--color-background);
}

.benefits-card:hover .benefits-card-icon {
  border-color: var(--color-text);
  background: var(--color-text);
}

.benefits-card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-text);
  transition: color 0.4s ease;
}

.benefits-card:hover .benefits-card-icon svg {
  color: var(--color-background);
}

.benefits-card-title {
  font-family: var(--font-family-montserrat);
  font-size: var(--font-size-md);
  font-weight: 800 !important;
  line-height: 1.2;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
}

.benefits-card:hover .benefits-card-title {
  letter-spacing: -0.005em;
}

.benefits-card-description {
  font-family: var(--font-family-helvetica);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.benefits-card:hover .benefits-card-description {
  color: var(--color-text);
}

.benefits-card-meta {
  font-family: var(--font-family-helvetica);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.benefits-card:hover .benefits-card-meta {
  color: var(--color-text);
  border-top-color: var(--color-emphasis);
}

/* benefits-pagination */
.benefits-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.benefits-pagination-dot {
  width: 8px;
  height: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.benefits-pagination-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--color-emphasis);
  transition: all 0.4s ease;
}

.benefits-pagination-dot.active {
  width: 32px;
  background: var(--color-text);
}

.benefits-pagination-dot.active::before {
  border-color: var(--color-text);
}

.benefits-pagination-dot:hover:not(.active) {
  background: var(--color-text-secondary);
}

.benefits-pagination-dot:hover:not(.active)::before {
  border-color: var(--color-text-secondary);
}

/* Typography Variations */
.benefits-card:nth-child(6n + 1) .benefits-card-title {
  font-weight: 300;
}

.benefits-card:nth-child(6n + 2) .benefits-card-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.benefits-card:nth-child(6n + 3) .benefits-card-title {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.benefits-card:nth-child(6n + 4) .benefits-card-title {
  font-weight: 700;
}

.benefits-card:nth-child(6n + 5) .benefits-card-title {
  font-weight: 200;
  letter-spacing: -0.03em;
}

.benefits-card:nth-child(6n + 6) .benefits-card-title {
  font-weight: 900;
  text-transform: lowercase;
}

/* Responsive */

@media (max-width: 768px) {
  .benefits-container {
    padding: 30px 16px;
  }

  .benefits-header {
    margin-bottom: 40px;
  }

  .benefits-card {
    padding: 24px 16px;
  }

  .benefits-card-number {
    font-size: 20px;
  }

  .benefits-card-title {
    font-size: 20px;
  }

  .benefits-card-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .benefits-card-number {
    font-size: 18px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefits-card {
  animation: fadeIn 0.6s ease-out;
}

.benefits-card:nth-child(1) {
  animation-delay: 0.1s;
}

.benefits-card:nth-child(2) {
  animation-delay: 0.2s;
}

.benefits-card:nth-child(3) {
  animation-delay: 0.3s;
}

.benefits-card:nth-child(4) {
  animation-delay: 0.4s;
}

.benefits-card:nth-child(5) {
  animation-delay: 0.5s;
}

.benefits-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* ======================================================================= */

/* Features Section */
.featured-section {
  background: var(--color-background);
  position: relative;
}

.featured-plans-container {
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  animation: featuredFadeInUp 1s ease-out 0.3s forwards;
  padding: 40px 0px 60px;
}

@keyframes featuredFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.featured-header::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-text), transparent);
  animation: featuredExpandLine 1.5s ease-out 0.8s forwards;
}

@keyframes featuredExpandLine {
  to {
    width: 100%;
  }
}

.featured-title {
  font-family: var(--font-family-montserrat);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg,
      var(--color-text) 0%,
      var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.featured-explore-all {
  font-family: var(--font-family-helvetica);
  font-size: 18px;
  color: var(--color-text-secondary);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.featured-explore-all:hover {
  color: var(--color-text);
  background: var(--color-background-secondary);
  transform: translateX(-5px);
}

.featured-explore-all::after {
  content: "→";
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.featured-explore-all:hover::after {
  margin-left: 1rem;
}

.featured-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.featured-plan-card {
  background: var(--color-background-secondary);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  cursor: pointer;
  transform: translateY(50px);
  opacity: 0;
  animation: featuredSlideInUp 0.8s ease-out forwards;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.featured-plan-card:nth-child(1) {
  animation-delay: 0.1s;
}

.featured-plan-card:nth-child(2) {
  animation-delay: 0.2s;
}

.featured-plan-card:nth-child(3) {
  animation-delay: 0.3s;
}

.featured-plan-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes featuredSlideInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.featured-strategy-tag {
  font-family: var(--font-family-helvetica);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.featured-strategy-tag::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width 0.3s ease;
}

.featured-plan-card:hover .featured-strategy-tag::after {
  width: 100%;
}

.featured-plan-title {
  font-family: var(--font-family-helvetica);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  transition: all 0.3s ease;
  position: relative;
}

.featured-plan-card:hover .featured-plan-title {
  transform: translateX(5px);
}

.featured-plan-description {
  font-family: var(--font-family-helvetica);
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.featured-plan-card:hover .featured-plan-description {
  color: var(--color-text);
}

.featured-plan-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.featured-rate-info {
  display: flex;
  flex-direction: column;
}

.featured-rate-period {
  font-family: var(--font-family-helvetica);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.featured-plan-card:hover .featured-rate-period {
  color: var(--color-text);
}

.featured-rate-value {
  font-family: var(--font-family-helvetica);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.featured-rate-value::after {
  content: attr(data-rate);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      var(--color-text) 0%,
      var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.featured-plan-card:hover .featured-rate-value::after {
  transform: translateY(0);
}

.featured-arrow-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-background-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.featured-arrow-icon::before {
  content: "→";
  font-family: var(--font-family-helvetica);
  font-size: 16px;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.featured-arrow-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--color-text);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.featured-plan-card:hover .featured-arrow-icon {
  background: var(--color-text);
  transform: rotate(45deg) scale(1.1);
}

.featured-plan-card:hover .featured-arrow-icon::before {
  color: var(--color-background);
}

.featured-plan-card:hover .featured-arrow-icon::after {
  width: 100%;
  height: 100%;
}

.featured-floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.featured-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-emphasis);
  border-radius: 50%;
  animation: featuredFloat 6s infinite ease-in-out;
}

@keyframes featuredFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

@media (max-width: 768px) {
  .featured-plans-container {
    padding: 30px 16px;
  }

  .featured-header {
    margin-bottom: 40px;
  }

  .featured-plans-grid {
    grid-template-columns: 1fr;
  }

  .featured-plan-card {
    padding: 24px 16px;
  }

}

/* ===================================================================================================== */