body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f8fafc;
  color: #222e3a;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.content-row {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  display: flex;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.main-header, .header-content, .main-section, .footer-content, .main-footer {
  padding: 0;
  margin: 0;
  width: auto;
  max-width: none;
  box-sizing: border-box;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(31, 41, 55, 0.04);
  position: relative;
  z-index: 10;
  padding-top: 0;
  padding-bottom: 0;
  height: auto;
  max-height: none;
  overflow: visible;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
}

.logo-icon {
  display: block;
  margin-right: 10px;
  vertical-align: middle;
}

.logo-text {
  display: block;
  vertical-align: middle;
  font-size: 1.35rem;
  font-weight: bold;
  color: #2563eb;
  letter-spacing: 1px;
  margin: 0;
}

.header-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 2rem;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  line-height: 1.2;
  margin: 0;
}

.header-signin:hover {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 600px) {
  .main-header {
    padding: 0 1rem;
  }
  .logo-text {
    font-size: 1rem;
  }
  .header-signin {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}

.container {
  min-height: unset;
  position: relative;
}

main {
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.subtitle {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.main-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  margin: 24px 0 0 0;
  padding: 0;
}

.main-section-left {
  flex: 1 1 350px;
  max-width: 420px;
  margin-top: 0;
}

.main-section-right {
  flex: 1 1 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pattern {
  position: absolute;
  width: 160px;
  height: 160px;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg"><g opacity="0.28">%3Ccircle cx="10" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="10" r="2" fill="%232563eb"/%3E%3Ccircle cx="10" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="30" r="2" fill="%232563eb"/%3E%3Ccircle cx="10" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="50" r="2" fill="%232563eb"/%3E%3Ccircle cx="10" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="70" r="2" fill="%232563eb"/%3E%3Ccircle cx="10" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="90" r="2" fill="%232563eb"/%3E%3Ccircle cx="10" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="110" r="2" fill="%232563eb"/%3E%3Ccircle cx="10" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="130" r="2" fill="%232563eb"/%3E%3Ccircle cx="10" cy="150" r="2" fill="%232563eb"/%3E%3Ccircle cx="30" cy="150" r="2" fill="%232563eb"/%3E%3Ccircle cx="50" cy="150" r="2" fill="%232563eb"/%3E%3Ccircle cx="70" cy="150" r="2" fill="%232563eb"/%3E%3Ccircle cx="90" cy="150" r="2" fill="%232563eb"/%3E%3Ccircle cx="110" cy="150" r="2" fill="%232563eb"/%3E%3Ccircle cx="130" cy="150" r="2" fill="%232563eb"/%3E%3Ccircle cx="150" cy="150" r="2" fill="%232563eb"/%3E</g></svg>');
  background-size: 160px 160px;
  background-repeat: no-repeat;
}

.pattern.pattern-left {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.pattern.pattern-right {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.pattern.pattern-top-right {
  position: absolute;
  top: -40px;
  right: -40px;
  z-index: 0;
}

.pattern.pattern-bottom-left {
  position: absolute;
  bottom: -40px;
  left: -40px;
  z-index: 0;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.08);
  padding: 0.5rem 0.5rem;
  min-width: 350px;
  min-height: 350px;
  max-width: 900px;
  max-height: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
}

.card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-image-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.08);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.feature-image-container img {
  max-width: 100%;
  max-height: 280px;
  height: auto;
  width: auto;
}

@media (max-width: 900px) {
  .main-section {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  .main-section-left, .main-section-right {
    max-width: 100%;
  }
  .card {
    max-width: 100vw;
    max-height: 60vw;
    padding: 1.2rem 0.5rem;
  }
  .card-image {
    max-height: 220px;
  }
  .pattern-top-right {
    top: 20px;
    right: 10px;
  }
  .pattern-bottom-left {
    bottom: 20px;
    left: 10px;
  }
  .feature-image-container {
    padding: 1.5rem;
    max-width: 350px;
  }
  .feature-image-container img {
    max-height: 220px;
  }
}

.main-footer {
  width: 100%;
  background: #f1f5f9;
  color: #64748b;
  padding: 0;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  min-height: 56px;
  padding: 0 2rem;
  gap: 1.5rem;
}

.footer-links {
  gap: 1.1rem;
}

.footer-link {
  height: 44px;
  line-height: 44px;
  font-size: 1rem;
  padding: 0 0.5rem;
}

.footer-left {
  flex: 0 0 auto;
  text-align: right;
}

.footer-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.18s;
  height: 44px;
  line-height: 44px;
  padding: 0 0.5rem;
  font-size: 1rem;
}

.footer-link:hover {
  color: #1d4ed8;
}

.footer-link svg {
  display: block;
  height: 22px;
  width: 22px;
  vertical-align: middle;
}

@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0 1rem;
  }
  .footer-links {
    gap: 0.7rem;
    flex-grow: 0;
  }
  .footer-left {
    text-align: left;
    width: 100%;
  }
  .page-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.testimonial-card {
  padding: 0.5rem 1rem;
}
.testimonial-card p {
  margin: 0;
  padding: 0;
}
.testimonial-card .d-flex {
  margin-top: 0 !important;
}
.testimonial-avatar {
  margin-top: 0 !important;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  min-height: 220px;
  text-align: left;
  padding-bottom: 1rem;
}

.testimonial-card p {
  margin-bottom: 0.5rem;
  flex: 1 1 auto;
  font-size: 1.08rem;
}

.testimonial-avatar {
  margin: 0;
  margin-right: 0 !important;
  margin-left: 0 !important;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.08);
}

.testimonial-card .d-flex {
  margin-top: 0;
  justify-content: left;
  align-items: left;
  gap: 1rem;
}

@media (max-width: 700px) {
  .testimonial-card {
    min-height: 180px;
    padding: 1.5rem 1rem;
  }
  .testimonial-card p {
    font-size: 1rem;
  }
}

.pricing-card {
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px 0 rgba(31,41,55,0.04);
  border-radius: 1rem;
  background: #fff;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.pricing-card:hover {
  box-shadow: 0 6px 24px 0 rgba(37,99,235,0.10);
  border-color: #2563eb;
}
.pricing-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
}
.pricing-card .display-6 {
  font-size: 2.5rem;
  line-height: 1.1;
}
.pricing-card ul {
  margin: 1.5rem 0 1.5rem 0;
  padding: 0;
  list-style: none;
  color: #2563eb;
  font-size: 1.08rem;
}
.pricing-card ul li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 0.7em;
  margin-bottom: 0.7em;
  line-height: 1.7;
  color: #222e3a;
  font-weight: 400;
}
.pricing-card ul li::before {
  content: '';
  flex-shrink: 0;
  margin-right: 0.7em;
  width: 0.7em;
  height: 0.7em;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  position: static;
  left: auto;
  top: auto;
  transform: none;
}
.pricing-card li {
  margin-bottom: 0;
  color: inherit;
  font-weight: inherit;
}
.pricing-card .btn {
  margin-top: auto;
  font-weight: 500;
  font-size: 1.08rem;
  border-radius: 0.5rem;
  padding: 0.7rem 0;
}
@media (max-width: 700px) {
  .pricing-card {
    min-height: 320px;
    padding: 1.5rem 1rem;
  }
  .pricing-card .display-6 {
    font-size: 2rem;
  }
}

/* --- Testimonials Carousel Custom Styles --- */
#testimonialCarousel {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

#testimonialCarousel .carousel-inner {
  min-height: 270px;
}

#testimonialCarousel .carousel-item {
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
}

#testimonialCarousel .testimonial-card {
  box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.08);
  border-radius: 20px;
  background: #fff;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

#testimonialCarousel .carousel-control-prev {
  left: -24px;
}

#testimonialCarousel .carousel-control-next {
  right: -24px;
}

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
  background: rgba(37,99,235,0.18);
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  filter: invert(36%) sepia(98%) saturate(747%) hue-rotate(202deg) brightness(95%) contrast(92%);
  width: 2rem;
  height: 2rem;
}

#testimonialCarousel .carousel-indicators {
  bottom: -32px;
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dbeafe;
  border: none;
  margin: 0 6px;
  transition: background 0.2s, width 0.2s;
}

#testimonialCarousel .carousel-indicators .active {
  background: #2563eb;
  width: 24px;
  border-radius: 12px;
}

@media (max-width: 700px) {
  #testimonialCarousel {
    max-width: 98vw;
  }
  #testimonialCarousel .carousel-inner {
    min-height: 200px;
  }
}

/* --- Custom JS Testimonials Slider --- */
.testimonial-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-cards {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  min-height: 160px;
  transition: opacity 0.5s;
  flex-wrap: nowrap;
}
.testimonial-card {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
  will-change: transform, box-shadow;
}
.testimonial-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 12px 36px 0 rgba(37,99,235,0.16);
  z-index: 2;
}
.testimonial-cards.fade {
  opacity: 0.3;
  pointer-events: none;
}
.testimonial-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  background: rgba(37,99,235,0.06);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  color: #2563eb;
  z-index: 2;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.08);
  opacity: 0.82;
  border: 1.5px solid #e0e7ef;
  margin: 0;
}
.testimonial-btn:hover {
  background: rgba(37,99,235,0.13);
  transform: translateY(-50%) scale(1.13) rotate(-8deg);
  box-shadow: 0 4px 16px 0 rgba(37,99,235,0.13);
  opacity: 1;
}
.testimonial-btn svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: #2563eb;
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}
.testimonial-btn-prev {
  left: -44px;
}
.testimonial-btn-next {
  right: -44px;
}
@media (max-width: 900px) {
  .testimonial-cards {
    gap: 1rem;
    min-height: 220px;
    flex-wrap: wrap;
  }
  .testimonial-btn-prev {
    left: 0;
  }
  .testimonial-btn-next {
    right: 0;
  }
}