* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #fff;
  color: #222;
}

ul {
  margin-bottom: 20px;
  padding-left: 20px;
}


/* Section container */
.hero-section {
  background: linear-gradient(to bottom, #3540d9, #000000);
  color: white;
  padding-bottom: 250px;
  position: relative;
  overflow: visible;
}

/* Hero Content */
.hero-content {
  text-align: center;
  padding: 150px 20px 0px;
}

.badge img {
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 22px;
  color: #dcdcdc;
}

.hero-content p a {
  color: #dcdcdc;
  text-decoration: underline;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(to right, #0e83f0, #3fa9f5);
  color: white;
  padding: 12px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
}

.btn-secondary {
  background: white;
  color: #1e1e1e;
  padding: 12px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
}


/* Feature bar overlap */
.feature-bar-wrapper {
  position: absolute;
  bottom: -30px; /* Pulls bar downward to overlap next section */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none; /* allow underlying section clicks */
}

.feature-bar {
  background: linear-gradient(to right, #0e83f0, #3fa9f5);
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  width: 90%;
  pointer-events: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 16px;
}

.feature-item img {
  height: 24px;
}

h2 {
  color: #1da1f2;
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}

/* Dashboard Section */
.dashboard-section {
  padding: 120px 20px 80px;
  text-align: center;
  background-color: #f9f9f9;
}

.dashboard-image {
  max-width: 75%;
}

.how-it-works-section {
  color: #fff;
  font-family: 'Inter', sans-serif;
  /* padding: 0px 20px 80px; */
  margin: 0 auto;
  max-width: 1200px;
}

.feature-box {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  padding: 30px;
}

.feature-box.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  padding: 30px;
  display: flex;
  justify-content: center;
}

.feature-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.feature-content {
  flex: 1;
  padding: 30px 40px;
}

.feature-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ffffff;
}

.feature-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #d1d1d1;
}

.feature-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.feature-content ul li {
  list-style-type: disc;
  color: #c7c7c7;
  margin-bottom: 10px;
}

.blue-link {
  color: #4c8ef7;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  font-size: 18px;
}

.arrow-icon {
  width: 18px;
  height: auto;
}

.plan-tick {
  width: 18px;
  height: 18px;
}

.blue-link:hover {
  text-decoration: underline;
}

/* Why ViralSort Section */
.why-viralsort-section {
  margin: 0 auto;
  max-width: 1200px;
  /* padding: 0px 20px 80px; */
  /* margin: 60px 20px; */
}

.why-boxes {
  margin: 60px 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: #000;
  color: #fff;
  padding: 40px;
  text-align: center;
  border-radius: 40px;
  
}

.why-box {
  background: linear-gradient(to right, #0e83f0, #3fa9f5);
  border-radius: 28px;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
  text-align: left;
  color: white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.why-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.why-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.why-box ul li {
  margin-bottom: 10px;
  font-size: 17px;
}

.why-box-arraow-icon {
  height: 14px; /* Adjust size as needed */
  vertical-align: middle; /* Centers with the text */
  margin: 0 4px; /* Small gap from text */
}

/* Why pricing Section */
.pricing-section {
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
}

.pricing-subtitle {
  font-weight: 600;
  margin-top: 5px;
}

.toggle-container {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

/* Toggle Switch Style */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}
input:checked + .slider {
  background-color: #1da1f2;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  align-items: stretch;
}

.plan-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 30px 40px 40px;
  width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.save-percentage {
  color: #1da1f2;
}

/* Price styling */
.plan-price {
  font-size: 3.8em;
  font-weight: bold;
  color: #1da1f2;
  margin-bottom: 6px;
}

.plan-price span {
  font-size: 22px;
  font-weight: 600;
  color: #1da1f2;
  margin-left: 4px;
}

/* Plan Name */
.plan-card h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Feature List */
.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.plan-card ul li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Choose Button */
.choose-btn {
  background: linear-gradient(to right, #0e83f0, #3fa9f5);
  color: #fff;
  border: none;
  padding: 15px 25px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  align-self: center;
  margin-top: auto;
}

/* Popular card style */
.popular {
  position: relative;
  background: #f8f9ff;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #0e83f0, #3fa9f5);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Coming soon text */
.coming-soon {
  color: #f49b1e;
}


/* CTA Section */
.cta-section {
  margin: 0 auto;
  max-width: 1200px;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #000;
  margin: 60px 20px;
  border-radius: 40px;
  padding: 40px 40px;
}

.cta-text h2 {
  color: #1da1f2;
  font-size: 28px;
  margin-bottom: 8px;
}

.cta-text p {
  color: #fff;
  font-size: 16px;
}

.cta-btn {
  background: linear-gradient(to right, #1da1f2, #5e9bfc);
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  font-size: 18px;
}


/* Responsive */
@media (max-width: 768px) {
  /* Hero heading */
  .hero-section {
    padding-bottom: 150px;
  }
  .hero-content{
      padding: 100px 20px 0px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons a {
    padding: 10px 24px;
    font-size: 14px;
  }

  .dashboard-image {
    max-width: 100%;
  }

  /* Feature box becomes column */
  .feature-box {
    flex-direction: column !important;
    text-align: center;
    padding: 20px;
  }


  .feature-item img {
      height: 20px;
  }

  .feature-image, .feature-content {
    padding: 20px;
  }

  .feature-content h3 {
    font-size: 22px;
  }

  .feature-content p,
  .feature-content ul li {
    font-size: 15px;
  }

  .feature-item {
    gap: 1px;
  }

  /* Why boxes stack */
  .why-boxes {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .why-box {
    padding: 20px;
  }

  .why-box h3 {
    font-size: 16px;
  }

  .why-box ul li {
    font-size: 14px;
  }

  /* Plan cards stack */
  .plan-card {
    width: 100%;
    max-width: 90%;
  }

  .plan-price {
    font-size: 2.2em;
  }

  /* CTA section */
  .cta-content {
    flex-direction: column;
    padding: 20px;
  }

  .cta-text {
    text-align: center;
  }

  .cta-text h2 {
    font-size: 22px;
  }

  .cta-text p {
    font-size: 14px;
  }

  /* Footer columns stack */
  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .footer-column {
    flex: 0;
    flex: none; 
  }

  .feature-bar-wrapper {
    bottom: -30px; /* increase overlap for smaller screens */
  }

  .feature-bar {
    width: 99%;
    gap: 10px;
  }
}
