

.testimonial-card {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important
}

@media (min-width:769px) and (max-width:1024px) {
  .how-it-works-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 0 15px
  }
  .hero-split-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 15px
  }
  .hero-auth-side {
    max-width: 480px;
    margin: 0 auto;
    width: 100%
  }
  .testimonial-slider {
    overflow: hidden
  }}

@media (min-width:769px) and (max-width:1024px) and (orientation:portrait) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 20px;
    text-align: center
  }
  .hero-auth-side {
    width: 100%;
    max-width: 480px;
    margin: 0 auto
  }
  .hero-cards-row {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr)
  }
  .how-it-works-main {
    grid-template-columns: 1fr;
    padding: 0 10px
  }}

@media (min-width:769px) and (max-width:1024px) and (orientation:landscape) {
  .hero-main-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem
  }
  .hero-split-layout {
    gap: 2rem;
    padding: 1rem 15px
  }}

@media (min-width:769px) and (max-width:1024px) {
  .hero-cta-group {
    gap: 18px
  }
  .hero-main-content {
    padding: 2rem 20px
  }
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 20px
  }
  .hero-auth-side {
    max-width: 480px;
    margin: 0 auto
  }}

@media (min-width:769px) {
  .testimonial-content {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
  }}

.hero-main-content {
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  padding-top: 3rem;
  padding-bottom: 1rem;
  width: 100%;
  min-height: auto;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0 auto
}

.how-it-works-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr
}

.hero-main-content::after,
.hero-main-content::before {
  display: none;
  content: none
}

@media (min-width:1400px) {
  .hero-main-content {
    gap: .4rem;
    padding-bottom: .3rem
  }
  .hero-trust-section {
    margin: .1rem auto .6rem
  }}

@media (min-width:1024px) {
  .hero-trust-section {
    margin: .3rem auto 1rem;
    padding: 18px 25px
  }}

@media (max-width:968px) {
  .hero-main-content {
    max-width: 100vw;
    overflow-x: hidden;
    padding: 0 10px
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 15px
  }}

@media (max-width:480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px
  }
  .hero-trust-section {
    margin: .1rem auto .8rem
  }}

@media (max-height:700px) {
  .hero-main-content {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 2rem
  }}

.how-it-works-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem
}

@media (max-width:968px) {
  .how-it-works-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 0 15px
  }}

@media (max-width:768px) {
  .how-it-works-main {
    padding: 0 10px;
    gap: 1rem
  }
  .hero-main-content {
    padding: 1rem 10px 3rem;
    overflow-x: hidden;
    max-width: 100%
  }}

@media (max-width:480px) {
  .hero-main-content {
    padding: 1rem 5px 2rem
  }}

@media (max-width:768px) {
  .hero-main-content,
  .hero-trust-section {
    width: 100%;
    box-sizing: border-box
  }
  .hero-main-content {
    padding-left: 10px;
    padding-right: 10px
  }
  .hero-trust-section {
    padding: 15px 10px;
    margin: 0
  }
  .hero-cta-group {
    width: 100%;
    padding: 0 10px
  }
  .hero-main-content::after,
  .hero-main-content::before {
    display: none;
    content: none
  }}

@media (max-width:480px) {
  .hero-main-content {
    min-height: auto;
    padding: 1rem 5px 2rem
  }}

@media (min-width:1200px) {
  .hero-main-content {
    gap: .3rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    min-height: calc(100vh - var(--desktop-top-nav-height) - 2rem)
  }
  .hero-trust-section {
    margin: .1rem auto .8rem;
    padding: 20px 35px
  }
  .hero-cta-group {
    margin-bottom: .3rem
  }}

@media (min-width:769px) and (max-width:1024px) and (orientation:landscape) {
  .hero-main-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem
  }}

.testimonials-section {
  position: relative;
  padding: 8rem 0;
  background: 0 0;
  width: 100%;
  overflow: hidden;
  z-index: 1
}

.testimonials-section::after,
.testimonials-section::before {
  content: "";
  position: absolute;
  left: -25%;
  width: 150%;
  height: 150px;
  background: var(--deep-ocean-start);
  z-index: -1
}

.testimonials-section::before {
  top: -75px;
  border-radius: 0 0 50% 50%
}

.testimonials-section::after {
  bottom: -75px;
  border-radius: 50% 50% 0 0
}

.testimonials-slider-wrapper {
  position: relative;
  margin-top: 3rem;
  padding: 0 60px;
  width: 100%;
  box-sizing: border-box
}

.testimonials-slider-container {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  padding-top: 8px
}

.testimonials-slider {
  display: flex;
  transition: transform .6s cubic-bezier(.25, 1, .5, 1);
  gap: 20px;
  align-items: stretch;
  cursor: grab;
  will-change: transform
}

.testimonials-slider:active {
  cursor: grabbing
}

.testimonials-slider.dragging {
  transition: none !important;
  cursor: grabbing
}

.testimonial-slide {
  min-width: 260px;
  max-width: 260px;
  flex-shrink: 0;
  display: flex
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(3, 12, 26, .95), rgba(0, 20, 40, .88));
  border: 1px solid rgba(0, 229, 255, .15);
  border-radius: 16px;
  padding: 18px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 26px
}

.testimonial-content {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0 0 auto;
  padding: 0;
  border: none;
  font-size: .85rem;
  position: relative;
  flex-grow: 1;
  overflow: hidden
}

@media (min-width:1400px) {
  .testimonial-slide {
    min-width: 240px;
    max-width: 240px
  }
  .testimonial-card {
    height: 188px
  }
  .testimonials-slider-wrapper {
    padding: 0 80px
  }}

@media (min-width:1200px) and (max-width:1399px) {
  .testimonial-slide {
    min-width: 220px;
    max-width: 220px
  }
  .testimonial-card {
    height: 170px;
    padding: 16px
  }
  .testimonials-slider-wrapper {
    padding: 0 70px
  }}

@media (min-width:900px) and (max-width:1199px) {
  .testimonial-slide {
    min-width: 200px;
    max-width: 200px
  }
  .testimonial-card {
    height: 154px;
    padding: 14px
  }
  .testimonials-slider-wrapper {
    padding: 0 60px
  }}

@media (max-width:899px) and (min-width:600px) {
  .testimonial-slide {
    min-width: 180px;
    max-width: 180px
  }
  .testimonial-card {
    height: 138px;
    padding: 12px
  }
  .testimonials-slider-wrapper {
    padding: 0 50px
  }}

@media (max-width:768px) {
  .testimonials-section {
    padding: 5rem 0
  }
  .testimonial-content {
    display: block;
    -webkit-line-clamp: none;
    -webkit-box-orient: initial;
    overflow: visible;
    text-overflow: initial;
    font-size: .8rem;
    line-height: 1.3
  }
  .testimonials-slider-wrapper {
    padding: 0 28px
  }
  .testimonial-slide {
    min-width: 160px;
    max-width: 160px
  }
  .testimonial-card {
    min-height: auto;
    height: auto;
    padding: 10px
  }}

@media (max-width:480px) {
  
  .testimonials-slider-wrapper {
    padding: 0 40px
  }
  .testimonial-slide {
    min-width: calc(100vw - 100px)
  }
  .testimonial-card {
    padding: 14px;
    min-height: auto;
    height: auto;
    max-height: none
  }
  .testimonial-header {
    gap: 10px;
    margin-bottom: 10px
  }
  .testimonial-content {
    font-size: .8rem;
    -webkit-line-clamp: 3;
    line-height: 1.3
  }}

@media (max-width:380px) {
  .testimonials-slider-wrapper {
    padding: 0 30px
  }
  .testimonial-slide {
    min-width: calc(100vw - 80px)
  }}

.hero-split-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 1rem 0 3rem;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto
}

.hero-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
  align-items: end
}

@media (max-width:968px) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 12px;
    overflow-x: hidden
  }
  .hero-auth-side {
    width: 100%;
    display: flex;
    justify-content: center
  }
    .hero-auth-side {
      padding: 0;
      box-sizing: border-box
    }
  .hero-cards-row {
    max-width: 600px;
    margin: 20px auto 0
  }}

@media (max-width:768px) {
  .hero-cards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px
  }
  .gtc-img {
    height: 55px
  }}

@media (max-width:600px) {
  .hero-cards-row {
    grid-template-columns: repeat(3, 1fr)
  }
  .gtc-img {
    height: 55px
  }}

@media (min-width:769px) and (max-width:1024px) {
  .hero-cta-group {
    gap: 18px
  }
  .hero-main-content {
    padding: 2rem 20px
  }
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem
  }
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 20px;
    text-align: center
  }
  .hero-auth-side {
    margin: 0 auto;
    width: 100%;
    max-width: 500px
  }
  .hero-cards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
    margin-top: 30px
  }
  .gtc-img {
    height: 105px;
    overflow: hidden;
    flex-shrink: 0
  }
  .testimonials-slider-wrapper {
    padding: 0 40px
  }
  .testimonial-slide {
    min-width: calc(50% - 15px)
  }}

@media (min-width:900px) and (max-width:1199px) {
  .testimonial-slide {
    min-width: 200px;
    max-width: 200px
  }
  .testimonial-card {
    height: 154px;
    padding: 14px
  }
  .testimonials-slider-wrapper {
    padding: 0 60px
  }}

@media (min-width:1920px) {
  .testimonial-slide {
    min-width: 280px;
    max-width: 280px
  }
  .testimonial-card {
    height: 220px;
    padding: 20px
  }
  .testimonials-slider-wrapper {
    padding: 0 100px
  }}

@media(max-width:768px) {
  .how-it-works-grid .step-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(48px) scale(.94);
    transition: opacity .55s cubic-bezier(.25, 1, .5, 1), transform .55s cubic-bezier(.25, 1, .5, 1)
  }
  .how-it-works-grid .step-card.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1)
  }}

.hero-cards-row .glass-task-card:first-child {
  animation: 1.1s cubic-bezier(.22, 1, .36, 1) .1s both cardDeal
}

.hero-cards-row .glass-task-card:nth-child(2) {
  animation: 1.1s cubic-bezier(.22, 1, .36, 1) .45s both cardDeal, 3.2s ease-in-out 1.7s infinite cardFloat
}

.hero-cards-row .glass-task-card:nth-child(3) {
  animation: 1.1s cubic-bezier(.22, 1, .36, 1) .8s both cardDeal
}

@media(max-width:768px) {
  .hero-cards-row .glass-task-card: first-child,
  .hero-cards-row .glass-task-card:nth-child(2),
  .hero-cards-row .glass-task-card:nth-child(3) {
    animation: none
  }}

@media(prefers-reduced-motion:reduce) {
  .how-it-works-grid .step-card {
    transform: none;
    transition: opacity .3s
  }}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap
}

.testimonial-card .user-avatar {
  background: linear-gradient(135deg, #005f8a, #00b8d4)
}

.testimonial-card blockquote.testimonial-content {
  quotes: none;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-primary);
  opacity: .9
}

.testimonial-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 1.5rem;
  color: var(--text-secondary);
  font-size: .95rem
}

@media(min-width:769px) {
  .testimonial-dots {
    display: none !important
  }}

.glass-task-card .gtc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0
}

.glass-task-card .gtc-img {
  background: rgba(0, 229, 255, .05);
  position: relative
}

.glass-task-card .gtc-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .10), transparent);
  pointer-events: none;
  animation: 1.8s ease-in-out infinite shimmer-gtc
}

.glass-task-card .gtc-img img[src] {
  animation: none;
  background: 0 0
}

.testimonial-card:hover .user-avatar {
  box-shadow: 0 6px 16px rgba(0, 229, 255, .28), inset 0 1px 2px rgba(255, 255, 255, .1);
  border-color: rgba(0, 229, 255, .45)
}

@media(max-width:480px) {
  .testimonial-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: unset !important;
    padding: 16px !important
  }
  .testimonial-content {
    -webkit-line-clamp: unset;
    overflow: visible
  }
  .testimonial-trust-bar {
    font-size: .72rem;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 0 0 .8rem;
    line-height: 1.5
  }
  .testimonials-slider-wrapper {
    padding: 0 8px
  }}