/* ============================================================
   DVD Authoring Software - page-specific styles
   Sub-product page of Cisdem DVD Burner
   Shared layout (banner / steps / FAQs / footer) lives in
   common-banner.css & dvd-burner.css; only this page's own
   components are defined here.
   ============================================================ */

/* Hero image */
.dvd-authoring-hero .hero img {
  width: 100%;
  max-width: 600px;
}

/* Defensive: never let any page image exceed its container */
.dvd-authoring-page img {
  max-width: 100%;
  height: auto;
}

/* Page shell */
.dvd-authoring-page {
  color: #242424;
}
.dvd-authoring-page h2 {
  color: #202020;
}

/* Section intro paragraph */
.section-intro {
  max-width: 900px;
  margin: 10px auto 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

/* Smaller sub-heading used by the comparison section */
.h2-sm {
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
  margin-top: 70px;
}

/* Inline link inside the intro */
.authoring-link {
  color: #FF4A64;
}

/* "What is DVD authoring" hero visual */
.authoring-intro {
  padding: 0;
}
.authoring-intro .visual {
  overflow: hidden;
  aspect-ratio: 1777 / 565;
  text-align: center;
}
.authoring-intro .visual img {
  display: block;
  width: 100%;
  max-width: none;
  border-radius: 10px;
  transform: translateY(-18%);
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  padding: 20px 0 0;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 760px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border: 1px solid #E8E8E8;
  font-size: 15px;
  line-height: 1.6;
  vertical-align: top;
}
.compare-table thead th {
  background: #fff;
  color: #333;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
.compare-table thead th:first-child {
  text-align: left;
}
.compare-table thead th:last-child {
  background: #FFF0F3;
  color: #E84C88;
}
.compare-table tbody td {
  text-align: center;
}
.compare-table tbody td:first-child {
  font-weight: 700;
  color: #333;
  text-align: left;
  white-space: nowrap;
}
.compare-table tbody td:last-child {
  background: #FFF0F3;
}
.compare-note {
  margin: 4px 0 70px;
  padding: 12px 20px 12px 17px;
  border-left: 3px solid #E84C88;
  background: #F7F7F7;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  text-align: left;
}
.compare-note .note-label {
  color: #E84C88;
  font-weight: 700;
}
.compare-note strong {
  color: #333;
}

/* Feature blocks */
.feature-block {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 40px 0 30px;
}
.feature-block .feature-text {
  flex: 1 1 460px;
  min-width: 0;
}
.feature-block .feature-text h3 {
  font-size: 26px;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.feature-block .feature-text p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 14px;
}
.feature-block .feature-text ul {
  list-style: none;
}
.feature-block .feature-text ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.6;
}
.feature-block .feature-text ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-weight: 700;
}
.feature-block .feature-visual {
  flex: 1 1 460px;
  min-width: 0;
  text-align: center;
}
.feature-block .feature-visual img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(255, 105, 135, 0.15);
}
.feature-block.reverse .feature-visual {
  order: -1;
}

/* Why choose */
.why-section {
  background-color: #FFF6F8;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 10px 0 40px;
}
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(240, 128, 128, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(240, 128, 128, 0.2);
}
.why-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 18px;
}
.why-card h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}
.why-card p {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

/* How-to steps: small alignment tweak on top of shared .steps-container */
.dvd-authoring-page .steps-container .step-content {
  padding-top: 10px;
}

/* Keep step-number icons inside their 48px badge (step1/2/3.png are 57px) */
.steps-container .step-icon img {
  max-width: 100%;
  max-height: 100%;
}

/* Tablet/mobile: keep step screenshots inside the content column
   (shared rule `max-width: 90vw` can exceed the column and overflow it) */
@media (max-width: 1023px) {
  .steps-container .images {
    width: 100%;
    max-width: 100%;
  }
  .steps-container .images img {
    max-width: 100%;
  }
}

/* FAQs: container only; item styles come from shared .faqs */
.dvd-authoring-page .faqs {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 50px;
}

/* ============ Responsive ============ */

/* Tablet (768-1024) */
@media (min-width: 768px) and (max-width: 1024px) {
  .dvd-authoring-page h2,
  .dvd-authoring-page .w-view-1200 > h2 {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 20px;
  }
  .dvd-authoring-page h3 {
    font-size: 22px;
  }
  .dvd-authoring-page > .w-width-all {
    padding-bottom: 20px;
  }
  .dvd-authoring-page .authoring-intro {
    padding-bottom: 25px;
  }
  .dvd-authoring-page .feature-block {
    padding: 30px 0 20px;
    margin-bottom: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px !important;
  }
  .dvd-authoring-page .feature-block .feature-text {
    flex: 0 1 auto;
    max-width: 640px;
    width: 100%;
  }
  .dvd-authoring-page .feature-block .feature-visual {
    width: 100%;
    margin-top: 0;
  }
  .dvd-authoring-page .feature-block .preview-export-visual {
    margin-top: 15px;
  }
  .dvd-authoring-page .feature-block.reverse .feature-visual {
    order: 0;
  }
  .dvd-authoring-page .feature-text,
  .dvd-authoring-page .feature-text h3,
  .dvd-authoring-page .feature-text ul {
    text-align: center !important;
  }
  .dvd-authoring-page .feature-text ul {
    display: inline-block;
    text-align: left !important;
  }
  .dvd-authoring-page .feature-text ul li {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left !important;
  }
  .dvd-authoring-page .feature-visual img {
    max-width: 600px !important;
  }
  .dvd-authoring-page .why-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile (max 767) */
@media (max-width: 767px) {
  .dvd-authoring-page h2,
  .dvd-authoring-page .w-view-1200 > h2 {
    font-size: 27px;
    line-height: 1.35;
    margin-top: 30px;
    margin-bottom: 16px;
    text-align: left;
  }
  .dvd-authoring-page h3 {
    font-size: 20px;
    line-height: 1.35;
  }
  .dvd-authoring-page > .w-width-all {
    padding-bottom: 20px;
  }
  .dvd-authoring-page .authoring-intro {
    padding-bottom: 20px;
  }
  .dvd-authoring-page .authoring-intro .visual {
    width: calc(100% + 20px);
    margin-left: -10px;
  }
  .dvd-authoring-page .feature-block {
    padding: 20px 0;
    margin-bottom: 0;
    flex-direction: column;
    gap: 20px;
  }
  .dvd-authoring-page .feature-block .feature-text {
    flex: 0 1 auto !important;
    max-width: 100%;
  }
  .dvd-authoring-page .feature-block .feature-visual {
    flex: 1 1 100% !important;
    max-width: 100%;
  }
  .dvd-authoring-page .feature-block.reverse .feature-visual {
    order: 0 !important;
  }
  .dvd-authoring-page .feature-block:last-child {
    margin-bottom: 0;
  }
  .dvd-authoring-page .why-cards {
    grid-template-columns: 1fr;
  }
  .section-intro {
    text-align: left;
  }
}

/* Desktop (min 1025) */
@media (min-width: 1025px) {
  .dvd-authoring-page > section.w-view-1200 > h2,
  .dvd-authoring-page > section > .w-view-1200 > h2 {
    margin: 70px 0 20px !important;
  }
  .dvd-authoring-page .feature-text h3 {
    margin: 0 0 10px !important;
  }
}
