:root {
  --landing-bg: #f6f7f4;
  --landing-surface: rgba(255, 255, 255, 0.82);
  --landing-stroke: rgba(20, 31, 24, 0.08);
  --landing-text: #111814;
  --landing-muted: #616b64;
  --landing-accent: #1f6f43;
  --landing-accent-dark: #174f31;
  --landing-soft: #dce9dd;
  --landing-shadow: 0 22px 70px rgba(22, 32, 24, 0.07);
}

.site-wrapper {
  background: var(--landing-bg) !important;
}

.landing-hero-shell {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2.5rem 2.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(246, 247, 244, 0.96) 100%);
}

.landing-hero-card {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 111, 67, 0.1);
  color: var(--landing-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.landing-kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ca866 0%, var(--landing-accent) 100%);
  box-shadow: 0 0 0 0.35rem rgba(60, 168, 102, 0.14);
}

.landing-title,
.landing-subtitle {
  color: var(--landing-text);
  margin: 0;
}

.landing-title {
  font-size: clamp(4.6rem, 15vw, 10rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.landing-title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.2rem) scale(0.96);
  filter: blur(6px);
}

.landing-title.is-animated .letter {
  animation: heroLetterIn 0.58s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.landing-subtitle {
  max-width: 20ch;
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0.75rem auto 0;
  opacity: 0;
  transform: translateY(1rem);
}

.landing-subtitle.is-visible {
  animation: heroSubtitleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.landing-detail-rotator {
  position: relative;
  max-width: 50rem;
  min-height: 8.5rem;
  margin: 1.25rem auto 0;
}

.landing-detail-slider {
  position: relative;
  min-height: 8.5rem;
}

.landing-detail-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 0.75rem 1rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  opacity: 0;
  transform: translateY(0.75rem) scale(0.985);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  box-shadow: none;
}

.landing-detail-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.landing-detail-headline {
  /* max-width: 22ch; */
  margin: 0;
  color: var(--landing-text);
  font-size: clamp(1.02rem, 1.9vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.landing-detail-copy {
  /* max-width: 34ch; */
  margin: 0.35rem 0 0;
  color: var(--landing-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.landing-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 1.1rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.landing-btn:hover {
  transform: translateY(-2px);
}

.landing-btn-primary {
  background: var(--landing-accent);
  border: 1px solid var(--landing-accent);
  color: #fff !important;
  box-shadow: 0 18px 30px rgba(31, 111, 67, 0.18);
}

.landing-btn-primary:hover {
  background: var(--landing-accent-dark);
  border-color: var(--landing-accent-dark);
  color: #fff !important;
}

.landing-btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 32, 24, 0.12);
  color: var(--landing-text) !important;
}

.landing-btn-secondary:hover {
  background: #fff;
  border-color: rgba(22, 32, 24, 0.2);
  color: var(--landing-text) !important;
}

.landing-note {
  margin-top: 0.85rem;
  color: var(--landing-muted);
  font-size: 0.9rem;
}

.landing-dashboard-wrap {
  position: relative;
  margin-top: 0;
  padding: 0 0 64px;
}

.landing-dashboard-frame {
  position: relative;
  border-radius: 2rem;
  padding: 0.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64));
  border: 1px solid rgba(22, 32, 24, 0.08);
  box-shadow: 0 24px 70px rgba(22, 32, 24, 0.1);
}

.landing-dashboard-frame img {
  display: block;
  width: 100%;
  border-radius: 1.55rem;
}

.landing-industries {
  padding: 1.5rem 0 2.5rem;
}

.landing-industries-card {
  background: #fff;
  border: 1px solid rgba(22, 32, 24, 0.08);
  border-radius: 1.75rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 50px rgba(22, 32, 24, 0.05);
  text-align: center;
}

.landing-industries-title {
  color: var(--landing-text);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 650;
  margin: 0;
}

.landing-industries-subtitle {
  color: var(--landing-muted);
  font-size: 0.98rem;
  margin: 0.85rem 0 0;
}

.landing-industries-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.landing-industry-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: #fafbfa;
  border: 1px solid rgba(22, 32, 24, 0.08);
  color: var(--landing-text);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  text-transform: capitalize;
}

.landing-industry-pill.is-highlight {
  background: rgba(31, 111, 67, 0.08);
  color: var(--landing-accent-dark);
  border-color: rgba(31, 111, 67, 0.16);
}

.landing-plans-section {
  padding: 3rem 0 3.5rem;
}

.landing-section-header {
  margin-left: 0;
  margin-right: 0;
}

.landing-section-title {
  color: var(--landing-text);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-bottom: 0.75rem;
}

.landing-section-subtitle {
  color: var(--landing-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.landing-promo-banner {
  border-radius: 1.4rem;
  padding: 1.4rem 1.75rem;
  margin-bottom: 2.4rem;
  background: linear-gradient(135deg, #204331 0%, #1f6f43 100%);
  box-shadow: 0 16px 40px rgba(31, 111, 67, 0.16);
  text-align: center;
}

.landing-promo-title {
  color: #fff;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.landing-promo-copy {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  margin: 0;
}

.landing-promo-copy strong {
  color: #fff;
  font-size: 1.15em;
}

.landing-plan-card {
  background: #fff;
  border: 1px solid rgba(22, 32, 24, 0.08);
  border-radius: 1.2rem;
  padding: 2.25rem 2rem;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  box-shadow: 0 12px 35px rgba(22, 32, 24, 0.05);
}

.landing-plan-card-featured {
  border: 2px solid var(--landing-text);
  box-shadow: 0 18px 45px rgba(22, 32, 24, 0.08);
}

.landing-plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--landing-text);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-plan-icon {
  width: 3.75rem;
  height: 3.75rem;
  background: var(--landing-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
  font-size: 1.3rem;
}

.landing-plan-icon-featured {
  background: var(--landing-text);
}

.landing-plan-title {
  color: var(--landing-text);
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.landing-plan-price {
  margin-bottom: 1.5rem;
}

.landing-plan-price-previous {
  margin-bottom: 0.35rem;
}

.landing-plan-price-previous span {
  font-size: 1rem;
  color: #99a09a;
  text-decoration: line-through;
}

.landing-plan-price-annual,
.landing-plan-price-monthly {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.landing-plan-price-main {
  font-size: 2.65rem;
  line-height: 1;
  font-weight: 700;
  color: var(--landing-text);
  letter-spacing: -0.05em;
}

.landing-plan-price-secondary {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
  color: var(--landing-text);
}

.landing-plan-price-period {
  color: var(--landing-muted);
  font-size: 0.95rem;
}

.landing-plan-price-monthly {
  margin-top: 0.35rem;
}

.landing-plan-summary {
  color: var(--landing-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.landing-plan-summary b {
  color: var(--landing-text);
  font-weight: 600;
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
}

.plan-feature-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--landing-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.plan-feature-list li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #1f6f43;
}

.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial-carousel-wrapper {
  margin: 2rem 0;
  padding: 0 50px;
}

.testimonial-carousel {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.testimonial-card p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-card .user-identity h5 {
  color: #242a45;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #242a45;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control:hover {
  background: #8e3831;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control i {
  font-size: 1rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
  bottom: -2rem;
}

.carousel-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dee2e6;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicators .indicator:hover {
  background: #8e3831;
  transform: scale(1.2);
}

.carousel-indicators .indicator.active {
  background: #242a45;
  width: 30px;
  border-radius: 6px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal.show {
  display: block !important;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  outline: 0;
  max-width: 500px;
  margin: 0 auto;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0.5;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-open {
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  background: linear-gradient(135deg, #242a45 0%, #8e3831 100%);
  color: white;
  border-radius: 15px 15px 0 0;
  border-bottom: none;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
  background: none;
  border: none;
  color: white;
  opacity: 0.8;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 2rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #242a45;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-group {
  margin-bottom: 1rem;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}

@keyframes heroLetterIn {
  0% {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.96);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroSubtitleIn {
  0% {
    opacity: 0;
    transform: translateY(1rem);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (min-width: 768px) {
  .testimonial-slide {
    min-width: 50%;
  }
}

@media (max-width: 991.98px) {
  .landing-hero-shell {
    min-height: 100svh;
    padding: 5rem 1.5rem 2rem;
  }

  .landing-hero-card {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .testimonial-carousel-wrapper {
    padding: 0 40px;
  }

  .carousel-control {
    width: 35px;
    height: 35px;
  }

  .carousel-control i {
    font-size: 0.9rem;
  }

  .testimonial-card {
    padding: 1.5rem;
    min-height: 220px;
  }

  .testimonial-card p {
    font-size: 0.95rem;
  }

  .testimonial-card .user-identity h5 {
    font-size: 1rem;
  }

  .landing-industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-plan-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .landing-hero-shell {
    min-height: 100svh;
    padding: 0rem 1rem 1.5rem;
  }

  .landing-title {
    font-size: clamp(5.1rem, 23vw, 7rem);
    line-height: 0.9;
  }

  .landing-subtitle {
    max-width: 13ch;
    font-size: clamp(1.55rem, 7.8vw, 2.35rem);
  }

  .landing-detail-rotator {
    max-width: 24rem;
    min-height: 7rem;
  }

  .landing-detail-slider {
    min-height: 7rem;
  }

  .landing-detail-slide {
    text-align: center;
    justify-items: center;
    padding: 0.35rem 0;
  }

  .landing-detail-headline {
    /* max-width: 17ch; */
    font-size: clamp(0.98rem, 5vw, 1.2rem);
  }

  .landing-detail-copy {
    /* max-width: 28ch; */
    font-size: 0.82rem;
  }

  .landing-actions {
    flex-direction: column;
    margin-top: 1.35rem;
  }

  .landing-btn {
    width: 100%;
    min-width: 0;
  }

  .landing-dashboard-frame {
    border-radius: 1.3rem;
    padding: 0.45rem;
  }

  .landing-dashboard-wrap {
    display: none;
  }

  .landing-plans-section {
    padding: 2.2rem 0 2.6rem;
  }

  .landing-section-subtitle {
    margin-bottom: 2rem;
  }

  .landing-promo-banner {
    padding: 1.15rem 1rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
  }

  .landing-promo-copy {
    font-size: 0.92rem;
  }

  .landing-industries {
    padding: 1rem 0 2rem;
  }

  .landing-industries-card {
    padding: 2rem 1rem;
    border-radius: 1.25rem;
  }

  .landing-industries-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0.1rem 0.35rem;
    margin-top: 1.5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .landing-industries-grid::-webkit-scrollbar {
    display: none;
  }

  .landing-industry-pill {
    min-height: 3rem;
    font-size: 0.9rem;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .landing-plan-card {
    border-radius: 1rem;
    padding: 1.75rem 1.15rem;
  }

  .landing-plan-title {
    font-size: 1.4rem;
  }

  .landing-plan-price-main {
    font-size: 2.35rem;
  }

  .landing-plan-summary {
    font-size: 0.94rem;
  }

  .plan-feature-list li {
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .only-desktop {
    display: none;
  }

  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header {
    padding: 0.75rem 1rem;
  }

  .modal-title {
    font-size: 1rem;
    line-height: 1.3;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-footer {
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .modal-body .row {
    margin: 0;
  }

  .modal-body .col-md-6 {
    padding: 0 0.25rem;
    margin-bottom: 0.5rem;
  }

  .modal-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .modal-body p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .modal-body .text-center h4 {
    font-size: 1rem;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

  .modal-body .text-center p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .modal-body label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }

  .modal-body .form-check-label {
    font-size: 0.8rem;
  }

  .modal-body .fa-envelope {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }

  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-title .letter,
  .landing-subtitle,
  .landing-detail-slide,
  .landing-btn {
    animation: none !important;
    transition: none !important;
  }
}
