@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined');

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

.main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 200px;
  flex-wrap: wrap;
}

.bg-color-main{
  background-color: #fafafa;
}

.left-side {
  flex: 1;
  max-width: 50%;
  position: relative;
}

.video-comparison {
  display: flex;
  align-items: center;
  gap: 62px;
  position: relative;
}

.video-comparison img {
  width: 160px;
  border-radius: 12px;
}

.video-comparison .arrow {
  position: absolute;
  top: 220px;
  left: 80px;
  width: 250px;
}

.left-side h1 {
  margin-top: 60px;
  font-size: 38px;
  color: #000;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

.subtitle {
  margin-top: 12px;
  font-size: 20px;
  color: #555;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.right-side {
  flex: 1;
  display: flex;
  justify-content: center;
}

.upload-box {
  background-color: #fff;
  box-shadow: 0 0 50px rgba(108, 106, 107, 0.8);
  padding: 30px;
  width: 450px;
  height: 260px;
  border-radius: 12px;
  text-align: center;
}

.plus {
  font-size: 70px;
  color: #555;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.upload-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 26px;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.upload-note {
  margin-top: 10px;
  color: #555;
  font-size: 18px;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.feature-row {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  font-size: 19px;
  color: #000;
}

.feature img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.how-it-works {
  text-align: center;
  margin: 10px auto;
  padding: 40px 20px;
  max-width: 1000px;
}

.how-it-works h2 {
  font-size: 28px;
  font-weight: 600;
  color: #111;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.how-it-works h2 span {
  color: #000;
}

.how-it-works .how-it-works-subtitle {
  margin-top: 10px;
  font-size: 18px;
  color: #444;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 160px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 200px;
}

.step img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: contain;
}


.step h3 {
  font-size: 20px;
  color: #000;
  margin-bottom: 6px;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.step p {
  font-size: 18px;
  color: #555;
  line-height: 1.4;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

#Features {
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
}

.features-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff00;
  border: 1px solid #c6d7f9;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.95em;
  color: #333;
  line-height: 1.5;
}

.feature-card img.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  object-fit: contain;
}

.subtitle-editor {
  display: flex;
  justify-content: space-between;
  padding: 40px 180px 40px 80px;
  font-family: 'Quicksand', sans-serif;
  height: 500px;
}



.tool-tab.active,
.tool-tab:hover {
  background: #5c6dff;
  color: white;
}

.tool-tab img {
  width: 22px;
  margin-bottom: 4px;
}

.tool-tab span {
  font-size: 13px;
  font-weight: 600;
}

/* Center Panel */
.customization-area {
  flex: 1;
  padding: 0px 0px 0px 40px;
  display: flex;
  flex-direction: column;
  align-items: left;
}

.tool-panel.active {
  display: flex;
}

.position-option {
  padding: 10px 20px;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
}

.upload-btn {
  margin-top: 12px;
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
}

#videoThumbnail {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.subtitle-editor-min {
  margin: 80px auto;
  max-width: 350px;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.subtitle-editor-min h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
}

.position-selector {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}

.position-selector label {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
}

.video-preview-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-preview-container video {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.subtitle-text {
  position: absolute;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  pointer-events: none;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  padding: 10px;
}

.subtitle-text.top {
  top: 10%;
}

.subtitle-text.middle {
  top: 45%;
}

.subtitle-text.bottom {
  bottom: 10%;
}

.upload-btn-min {
  background-color: #111;
  color: #fff;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.upload-btn-min:hover {
  background-color: #333;
}

.progress-bar-bg {
  height: 20px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: #007bff;
}

.progress-text {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

.final-download-btn {
  background-color: #4F46E5; /* Indigo */
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.final-download-btn:hover {
  background-color: #3730A3; /* Darker Indigo */
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.final-download-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.Pricing-tbl {
  text-align: center;
  padding: 50px 20px;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.pricing-header {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.pricing-subtext {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 10px;
}

.pricing-explain {
  font-size: 1.2rem;
  color: #3e3e3e;
  margin-bottom: 50px;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
}

.pricing-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  padding: 30px;
  max-width: 300px;
  flex: 1;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card .tag {
  font-size: 0.8rem;
  font-weight: 600;
  background: #e0e0e0;
  color: #333;
  border-radius: 20px;
  padding: 5px 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.pricing-card .tag.red {
  background-color: #ffe6e6;
  color: #d10000;
}

.pricing-card .tag.purple {
  background-color: #ede6ff;
  color: #5a2bcb;
}

.price {
  font-size: 1.8rem;
  color: #222;
  margin: 10px 0;
}

.desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0 0 20px;
}

.pricing-card ul li {
  margin: 30px 0;
  font-size: 0.9rem;
}

.purchase-btn {
  background-color: #111;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.purchase-btn:hover {
  background-color: #333;
}

.purchase-btn.red {
  background-color: #d10000;
}

.purchase-btn.red:hover {
  background-color: #b00000;
}

.purchase-btn.purple {
  background-color: #5a2bcb;
}

.purchase-btn.purple:hover {
  background-color: #4a1fb0;
}
.pricing-card.starter {
  border: 2px solid #111;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular {
  border: 2px solid #d10000;
  box-shadow: 0 0 10px rgba(209, 0, 0, 0.2);
}

.pricing-card.high-volume {
  border: 2px solid #5a2bcb;
  box-shadow: 0 0 10px rgba(90, 43, 203, 0.2);
}

.dl-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  max-width: 320px;
  margin: 30px auto 10px;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.dl-meta {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dl-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-weight: 500;
}

.dl-icon {
  font-size: 18px;
}

.dl-text {
  font-size: 14px;
}

.dl-res {
  font-size: 13px;
  color: #666;
}

.dl-badge {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
}

.badge-free {
  background-color: #f2f2f2;
  color: #555;
}

.badge-login {
  background-color: #ffd700;
  color: #000;
}

.badge-credits {
  background-color: #e0f0ff;
  color: #0077cc;
}

/* Keep your existing styling for this if needed */
.final-download-btn {
  background-color: #5f4dee;
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease;
}

.final-download-btn:hover {
  background-color: #4c3ed6;
}

.dl-row:first-child {
  opacity: 1;
}
body.logged-in .dl-row:first-child {
  opacity: 0.4;
  pointer-events: none;
}

.no-credit-err {
  background: linear-gradient(135deg, #fffbe6, #fff3cd);
  border: 1px solid #ffe58f;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.15);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  margin-top: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Quicksand', sans-serif;
}

.no-credit-err .credit-title {
  font-size: 20px;
  font-weight: 700;
  color: #664d03;
  margin-bottom: 10px;
}

.no-credit-err p {
  font-size: 15px;
  color: #7a5e00;
  margin: 0 0 16px;
}

.buy-credits-btn {
  background: linear-gradient(to right, #ffdd57, #ffd43b);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
  font-size: 14px;
}

.buy-credits-btn:hover {
  background: linear-gradient(to right, #ffca28, #ffc107);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.font-selector {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}

.font-selector label {
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

#fontChoice {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  appearance: none;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

#fontChoice:hover {
  border-color: #a5b4fc;
}

#fontChoice:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/*----------------Feedback form-----------------*/
#feedbackBox {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 320px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
  animation: fadeInUp 0.5s ease;
}

#feedbackBox p {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

#stars {
  font-size: 22px;
  letter-spacing: 5px;
  cursor: pointer;
  margin-bottom: 15px;
  color: #ccc;
  transition: color 0.2s;
}

#stars span.selected {
  color: #ffc107;
}

#feedbackBox textarea {
  width: 100%;
  resize: vertical;
  min-height: 60px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: inherit;
}

#feedbackBox button {
  background-color: #6366f1;
  color: white;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

#feedbackBox button:hover {
  background-color: #4f46e5;
}

#feedbackBox input[type="email"] {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: inherit;
}
#feedbackBox .close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

#feedbackBox .close-btn:hover {
  color: #000;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.popup-content {
  background: white;
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', sans-serif;
  animation: slideUp 0.4s ease-out;
}

.popup-content h3 {
  font-size: 22px;
  color: #4f46e5;
  margin-bottom: 10px;
}

.popup-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.popup-content button {
  background-color: #6366f1;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #4f46e5;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



/*-----------------Footer CSS--------------------*/
.foot {
    background-color: #252525;
    color: white;
    padding: 30px 50px;
    font-family: "K2D", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo img {
    width: 110px;
}

.footer-logo p {
    max-width: 300px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
    font-family: "K2D", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #CFCFCF;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-column a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 12px ;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #505050;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 30px;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-icons img {
    width: 30px; /* Adjust size as needed */
    height: auto;
}

.login-to-buy {
  padding: 10px 16px;
  background-color: #0070ba;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 12px;
}

.uploading-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.uploading-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  font-family: 'Quicksand', sans-serif;
}

.uploading-content p {
  margin-top: 12px;
  font-size: 16px;
  color: #333;
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Tablet (<=1024px) and Mobile (<=768px) Responsive Adjustments */
@media screen and (max-width: 1024px) {
  .main-container {
    padding: 40px 40px;
    flex-direction: column;
    align-items: flex-start;
  }

  .left-side, .right-side {
    max-width: 100%;
    flex: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .upload-box {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .pricing-cards {
    gap: 40px;
  }

  .pricing-card {
    max-width: 100%;
  }

  .feature-row {
    flex-direction: column;
    gap: 40px;
  }

  .steps {
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
  }

  .subtitle-editor {
    flex-direction: column;
    padding: 30px 20px;
    height: auto;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .left-side h1 {
    font-size: 28px;
    text-align: center;
  }

  .subtitle {
    font-size: 16px;
    text-align: center;
  }

  .plus {
    font-size: 48px;
  }

  .upload-btn {
    font-size: 20px;
    padding: 10px 20px;
  }

  .how-it-works h2 {
    font-size: 24px;
  }

  .step h3 {
    font-size: 18px;
  }

  .step p {
    font-size: 16px;
  }

  .features-title {
    font-size: 2rem;
  }

  .pricing-header {
    font-size: 2rem;
  }

  .price {
    font-size: 1.5rem;
  }

  .desc {
    font-size: 0.9rem;
  }

  .purchase-btn {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .social-icons img {
    width: 24px;
  }
}





