/* ================= GLOBAL ================= */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* ================= HEADER ================= */
header {
  height: 60px;
  padding: 10px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logos {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 700px;
  gap: 6px;
}

.logo {
  width: 40px;
}

.logo-marks {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #7C3AED, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= HERO SECTION ================= */
.section-main {
  background: linear-gradient(108deg, rgba(0, 158, 226, .9) -57%, #8b2fff 11%, rgba(245, 5, 79, .9) 102%);
  color: #fff;
  min-height: 84vh;
  padding: 20px 0 0 0;
  text-align: center;
}

h1 {
  font-size: 40px;
  margin: 0;
  padding: 0 20px;
}

.subtitle {
  font-size: 16px;
  margin: 20px 0 30px;
  font-weight: 500;
  padding: 0 20px;
}

/* ================= DOWNLOAD BAR ================= */
.download-sec {
  padding: 0 20px;
}

.download-sec-style {
  background: #fff;
  display: flex;
  gap: 10px;
  max-width: 670px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 8px;
  margin: 0 auto;
}

.input-row {
  display: flex;
  width: 100%;
  gap: 6px;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 15px;
}

input::placeholder {
  color: #aaa;
  font-weight: 500;
}

.pasteBtn {
  padding: 9px 12px;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  max-width: 70px;
}

.downloadBtn {
  padding: 20px 24px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

button:disabled {
  opacity: 0.6;
}

/* ================= LOADERS ================= */
.form-loader {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #ddd;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin .9s linear infinite;
  margin: 0 auto 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================= PREVIEW ================= */
.preview-card {
  margin-top: 30px;
  background: #fff;
  color: #111;
  padding: 15px;
}

.preview-frame {
  width: 100%;
  max-width: 280px;
  min-height: 320px;
  margin: 0 auto 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  z-index: 2;
}

#reelVideo {
  width: 100%;
  max-width: 280px;
  max-height: 520px;
  object-fit: contain;
  background: #000;
  border-radius: 12px;
}

.preview-download-btn {
  display: block;
  margin: 10px auto;
  padding: 14px;
  width: 100%;
  max-width: 260px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 23px;
  font-weight: 500;
}

/* ================= META ================= */
.meta {
  max-width: 500px;
  margin: 10px auto 0;
  border: 1px solid #efefef;
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* ================= ABOUT ================= */
.about-sec {
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
 
.about-info {
  display: flex;
  gap: 24px;
  max-width: 984px;
  width: 100%;
  height: 250px;
  /* 🔥 FIXED HEIGHT */
  margin: 0 auto;
  background: #fff;
  /* padding: 20px; */
  border-radius: 14px;
  box-shadow: rgba(100, 100, 111, .2) 0 7px 29px;
  align-items: center;
  /* 🔥 content vertical center */
  box-sizing: border-box;
}

/* ========================= IMAGE WRAPPER ========================= */
.about-info-img {
  flex: 0 0 328px;
}

/* IMAGE */
.about-info-img img {
  width: 328px;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 12px 0 0 12px;
}

/* ========================= CONTENT ========================= */
.about-content {
  flex: 1;
}

.about-content h2 {
  margin: 0 0 12px;
  font-size: 32px;
  color: #8A2BE2;
}

.about-content p {
  /* margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #414A4C; */
  font-size: 18px;
  color: #414A4C;
  line-height: 30px;
  margin: 12px 0;
  padding: 10px;
}

/* ========================= MOBILE / TABLET ========================= */

@media (min-width: 768px) and (max-width: 942px) {
  .about-content h2 {
    margin: 10px 0;
    font-size: 30px;
  }

  .about-content p {
    padding: 0 10px 0 0;
  }
}

@media (max-width: 768px) {
  .about-info {
    flex-direction: column;
    height: auto;
    /* 🔥 mobile pe auto */
    text-align: center;
  }

  .about-content p {
    padding: 10px;
  }

  .about-info-img {
    flex: none;
  }

  .about-info-img img {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    border-radius: 12px 12px 0 0;
  }
}


/* ================= INSTRUCTIONS ================= */
.section-instruction {
  padding: 60px 20px;
}

.section-instruction h2 {
  font-size: 32px;
  color: #8A2BE2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 20px;
  border-bottom: 2px solid;
  border-image: linear-gradient(108deg, rgba(0, 158, 226, .9), #8b2fff, rgba(245, 5, 79, .9));
  border-image-slice: 1;
  padding-bottom: 20px;
}

.section-instruction p.section-instruction-ct {
  text-align: center;
  font-size: 18px;
  color: #414A4C;
  line-height: 30px;
  margin: 20px 0;
}

.section-instruction p {
  text-align: center;
  font-size: 18px;
  color: #414A4C;
  line-height: 30px;
  margin: 12px 0;
}

.instruction-list {
  max-width: 990px;
  display: grid;
  gap: 25px;
  grid-template-areas: "a b c";
  grid-auto-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.instruction-list li {
  box-shadow: rgba(100, 100, 111, .2) 0 7px 29px;
  border-radius: 12px;
  overflow: hidden;
}

.instruction-list img {
  width: 100%;
  display: block;
}

.instruction-list div {
  padding: 12px;
}

.instruction-list h3 {
  color: #DC343B;
  font-size: 22px;
  text-align: center;
  margin: 0 0 12px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 12px;
}

/* ================ Feature Section ===============*/
.feature-main-title {
  font-size: 32px;
  color: #8A2BE2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 30px;
  border-bottom: 2px solid;
  border-image: linear-gradient(108deg, rgba(0, 158, 226, .9), #8b2fff, rgba(245, 5, 79, .9));
  border-image-slice: 1;
  padding-bottom: 20px;
}
.feature-sec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 0 20px 30px 20px;
}

.feature-sec-title {
  font-size: 32px;
  color: #8A2BE2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 20px;
  border-bottom: 2px solid;
  border-image: linear-gradient(108deg, rgba(0, 158, 226, .9), #8b2fff, rgba(245, 5, 79, .9));
  border-image-slice: 1;
  padding-bottom: 20px;
}

/* ========================= FEATURE CARD ========================= */
.feature-info {
  display: flex;
  gap: 24px;
  max-width: 984px;
  width: 100%;
  height: 250px;
  /* 🔥 FIXED HEIGHT */
  margin: 0 auto;
  background: #fff;
  /* padding: 20px; */
  border-radius: 14px;
  box-shadow: rgba(100, 100, 111, .2) 0 7px 29px;
  align-items: center;
  /* 🔥 content vertical center */
  box-sizing: border-box;
}

/* ========================= IMAGE WRAPPER ========================= */
/* IMAGE */
.feature-info-img img {
  width: 328px;
  height: 250px;
  object-fit: cover;
  /* ❌ no cut */
  display: block;
  border-radius: 12px 0 0 12px;
}

/* ========================= CONTENT ========================= */
.feature-content {
  flex: 1;
}

.feature-content h2 {
  margin: 0 0 12px;
  font-size: 32px;
  color: #8A2BE2;
}

.feature-content {
  font-size: 18px;
  color: #414A4C;
  line-height: 30px;
  margin: 12px 0;
  padding: 10px;
}

/* ========================= TABLET (2 x 2) ========================= */
@media (max-width: 900px) {
  .feature-sec {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-info-img img {
    width: 100%;
    border-radius: 12px 12px 0 0;
    height: auto;
  }

  .feature-info {
    flex-direction: column;
    height: auto;
    /* 🔥 tablet pe auto */
    text-align: center;
  }

  .feature-content {
    padding: 0px 10px;
  }

  .feature-content h2 {
    line-height: 40px;
    margin: 0 12px;
  }
}

/* =========================
   MOBILE (1 x 1)
========================= */
@media (max-width: 600px) {
  .feature-sec {
    grid-template-columns: 1fr;
  }

  .feature-info {
    height: auto;
  }

  .feature-info-img img {
    width: 100%;
    max-width: none;
    height: auto;
  }
}

/* ================= RESPONSIVE ================= */

/* MOBILE */
@media (max-width: 600px) {
  h1 {
    font-size: 26px;
  }

  .download-sec-style {
    flex-direction: column;
  }

  .downloadBtn,
  .pasteBtn {
    width: 100%;
  }

  /* #reelVideo { max-width: 100%; max-height: 420px; } */
  /* .preview-frame { max-width: 100%; } */
  .about-info {
    flex-direction: column;
  }

  .instruction-list {
    grid-template-columns: 1fr;
  }
}

/* TABLET */
@media (max-width: 768px) {
  .instruction-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-sec-style {
    max-width: 100%;
  }

  .about-info {
    flex-direction: column;
    max-width: 492px;
    text-align: center;
  }
}

/* UTILS */
.hidden {
  display: none;
}

img,
video {
  max-width: 100%;
}

.instruction-list li:first-of-type {
  grid-area: a;
}

.instruction-list li:nth-of-type(2) {
  grid-area: b;
}

.instruction-list li:nth-of-type(3) {
  grid-area: c;
}


@media (max-width: 900px) {
  .instruction-list {
    grid-template-areas:
      "a a b b"
      ". c c .";
    grid-template-columns: inherit
  }
}

@media (max-width: 600px) {
  .instruction-list {
    grid-template-areas: "a"
      "b"
      "c";
  }

}

.site-footer {
  background: #f5f9ff;
  color: #555555;
  padding: 40px 20px;
  font-size: 14px;
  border-top: 1px solid #F5F5F5;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 10px;
}

.site-footer a {
  color: #555555;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
  font-size: 13px;
}
