:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --rose-800: #9f1239;
  --rose-900: #881337;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  background-color: #FFFCFC;
  font-weight: 300;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.lead {
  font-weight: 300;
  color: #666;
}

/* Utility Classes */
.text-rose-400 {
  color: var(--rose-400);
}

.text-rose-500 {
  color: var(--rose-500);
}

.bg-rose-50 {
  background-color: var(--rose-50);
}

.bg-rose-100 {
  background-color: var(--rose-100);
}

.gradient-text {
  background: linear-gradient(to right, var(--rose-600), var(--rose-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
header {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid #F9F1F1;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 300;
}

.nav-link {
  font-weight: 300;
  color: #666;
  margin: 0 1rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--rose-500);
}

.btn-dark {
  background-color: #000;
  border: none;
  transition: all 0.3s;
}

.btn-dark:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-rose {
  background: linear-gradient(to right, var(--rose-500), var(--rose-400));
  border: none;
  color: white;
  transition: all 0.3s;
}

.btn-rose:hover {
  background: linear-gradient(to right, var(--rose-600), var(--rose-500));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background-color: var(--rose-100);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(80px);
  z-index: -10;
}

.hero-bg-circle-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 300px;
  height: 300px;
  background-color: var(--rose-200);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(60px);
  z-index: -10;
}

.hero-bg-circle-2 {
  position: absolute;
  top: 33%;
  right: 25%;
  width: 200px;
  height: 200px;
  background-color: var(--rose-300);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(60px);
  z-index: -10;
}

.hero-bg-circle-3 {
  position: absolute;
  bottom: 10%;
  left: 40%;
  width: 250px;
  height: 250px;
  background-color: var(--rose-200);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(60px);
  z-index: -10;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid #F9F1F1;
  aspect-ratio: 16/9;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(255, 241, 242, 0.8), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  border-radius: 32px;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
}

.feature-row {
  margin-bottom: 8rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-image-container {
  position: relative;
  padding: 2rem;
}

.feature-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background-color: var(--rose-100);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(60px);
  z-index: -10;
}

.feature-image-overlay {
  position: absolute;
  inset: 2rem;
  background: linear-gradient(to top right, rgba(255, 241, 242, 0.5), rgba(255, 255, 255, 0.3));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  border-radius: 40px;
}

.feature-image {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 500px;
  border-radius: 32px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.1);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--rose-100);
  color: var(--rose-500);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.feature-content p {
  color: #666;
  font-weight: 300;
}

/* Pain Points Section */
.pain-points-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, white, var(--rose-50));
}

.pain-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 24px;
  border: 1px solid #F9F1F1;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pain-list li:last-child {
  margin-bottom: 0;
}

.pain-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--rose-100);
  color: var(--rose-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.pain-list li p {
  color: #666;
  font-weight: 300;
  margin: 0;
}

/* How It Works Section */
.how-it-works-section {
  padding: 6rem 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

.step-item:hover {
  transform: translateY(-4px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(to bottom right, var(--rose-300), var(--rose-200));
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.step-item:hover .step-number {
  transform: scale(1.1);
}

.step-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.step-item p {
  color: #666;
  font-weight: 300;
  font-size: 0.875rem;
}

/* App Screenshots Section */
.app-screenshots-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--rose-50), white);
  position: relative;
  overflow: hidden;
}

.app-screenshots-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background-color: var(--rose-100);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(80px);
  z-index: -1;
}

.screenshots-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.screenshots-container::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 280px;
  border: 1px solid #F9F1F1;
  border-radius: 32px;
  padding: 0.75rem;
  background-color: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.screenshot-item img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
}

.testimonial-slider {
  position: relative;
}

.slider-container {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: block;
  white-space: nowrap;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  display: inline-block;
  vertical-align: top;
  width: 33.33%; /* Default for large screens */
  padding: 15px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 24px;
  border: 1px solid #F9F1F1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
  white-space: normal;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
  margin-bottom: 1rem;
  color: #FFB800;
}

.testimonial-content {
  color: #666;
  font-weight: 300;
  margin-bottom: 1.5rem;
  width: 100%; /* Ensure it takes the full width of the parent (testimonial-card) */
  white-space: normal; /* Ensure text wraps normally */
  word-wrap: break-word; /* Support for older browsers */
  overflow-wrap: break-word; /* Modern standard for text wrapping */
  display: -webkit-box; /* Enable line clamping */
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  -webkit-box-orient: vertical; /* Required for line clamping */
  overflow: hidden; /* Hide overflow content */
  text-overflow: ellipsis; /* Show ellipsis for overflow */
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-avatar {
  margin-right: 1rem;
}

.testimonial-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 500;
}

.author-role {
  color: #666;
  font-size: 0.875rem;
  font-weight: 300;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
  position: static;
  width: auto;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid #F9F1F1;
  border-radius: 50%;
  color: var(--rose-500);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  color: var(--rose-500);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  bottom: -50px;
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--rose-200);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-indicators .active {
  background-color: var(--rose-500);
}

/* Responsive Adjustments for Testimonials */
@media (max-width: 991.98px) {
  .testimonial-card {
    width: 50%; /* 2 cards per row on medium screens */
  }
}

@media (max-width: 767.98px) {
  .testimonial-card {
    width: 100%; /* 1 card per row on small screens */
  }
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, white, var(--rose-50));
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background-color: var(--rose-100);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(80px);
  z-index: -1;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 24px;
  border: 1px solid #F9F1F1;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card-featured {
  background: linear-gradient(to bottom right, white, rgba(255, 241, 242, 0.7));
  border-color: var(--rose-200);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.pricing-card-featured:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: linear-gradient(to right, var(--rose-500), var(--rose-400));
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  border-radius: 50rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  padding: 2rem 2rem 1rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.pricing-description {
  color: #666;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  color: #666;
  font-weight: 300;
}

.pricing-save {
  color: var(--rose-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.pricing-body {
  padding: 1rem 2rem 2rem;
  flex-grow: 1;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.feature-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--rose-100);
  color: var(--rose-500);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.pricing-features li span {
  color: #666;
  font-weight: 300;
}

.pricing-footer {
  padding: 0 2rem 2rem;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #F9F1F1;
}

.accordion-button {
  font-size: 1.125rem;
  font-weight: 300;
  padding: 1.5rem 0;
  background-color: transparent;
  box-shadow: none;
  color: #333;
  transition: color 0.3s;
}

.accordion-button:hover {
  color: var(--rose-500);
}

.accordion-button:not(.collapsed) {
  color: var(--rose-500);
  background-color: transparent;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f43f5e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 0 0 1.5rem;
  color: #666;
  font-weight: 300;
}

/* Final CTA Section */
.final-cta-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--rose-50), white);
}

.cta-button-container {
  max-width: 300px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid #F9F1F1;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--rose-500);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .feature-row {
    margin-bottom: 4rem;
  }
  
  .feature-image-container {
    margin-bottom: 2rem;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 6rem 0 4rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .features-section,
  .pain-points-section,
  .how-it-works-section,
  .app-screenshots-section,
  .testimonials-section,
  .pricing-section,
  .faq-section,
  .final-cta-section {
    padding: 4rem 0;
  }
  
  .screenshots-container {
    justify-content: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}