/* ================================
   DEMO SECTION (UPLOAD PREVIEW)
   ================================ */
.demo_section {
  background: linear-gradient(180deg, #f7f7f7 0%, #fff 100%);
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

/* “Phone” container */
.demo-phone, .phone-mock {
  position: relative;
  width: 100%;
  max-width: 260px;   /* smaller phone */
  aspect-ratio: 9/19;
  border-radius: 36px;
  padding: 10px;
  background: #000;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

/* subtle outer edge */
.phone-mock::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* notch */
.phone-mock::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: #000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 3;
}

/* inner screen */
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

.phone-screen .demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   TEXT SECTION
   ================================ */
.upload-intro {
  color: #0f172a;
  font-family: 'Poppins', sans-serif;
  max-width: 480px;
  margin: 0 auto;
}

.upload-heading {
  font-weight: 700;
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.upload-sub {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

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

.upload-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border: 2px solid #ec4899;
  color: #ec4899;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

/* ================================
   RESPONSIVE TWEAKS
   ================================ */
@media (max-width: 992px) {
  .demo_section {
    text-align: center;
  }

  .upload-intro {
    margin-bottom: 30px;
  }

  .phone-mock {
    max-width: 230px;
  }
}

/* ---------- Mobile fixes for the upload intro ---------- */
@media (max-width: 576px) {
  /* keep text left-aligned and narrower */
  .upload-intro { 
    text-align: left;
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto 20px;
  }

  /* smaller, fluid heading */
  .upload-heading {
    font-size: clamp(1.35rem, 6vw, 1.6rem);
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .upload-sub {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  /* bullets: left align, smaller icon, tighter line-height */
  .upload-list { margin: 0; }
  .upload-list li {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 10px;
    align-items: flex-start;        /* icon sits at first line */
  }

  .upload-list .check-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
    margin-right: 10px;
    margin-top: 2px;                 /* vertically aligns with first line */
    flex: 0 0 20px;
  }
}

/* optional: slightly reduce the phone size on small screens too */
@media (max-width: 576px) {
  .phone-mock { max-width: 220px; }
}