/* style/app-vs-web.css */
.page-app-vs-web {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

.page-app-vs-web__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(var(--header-offset, 120px) + 60px); /* Adjust for header offset */
  background: linear-gradient(135deg, #26A9E0, #1a8cc2); /* Brand color gradient */
  color: #ffffff;
  overflow: hidden;
  gap: 30px;
}

.page-app-vs-web__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-app-vs-web__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-app-vs-web__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-app-vs-web__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-app-vs-web__btn-primary,
.page-app-vs-web__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-app-vs-web__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-app-vs-web__btn-primary:hover {
  background-color: #d46f06;
  border-color: #d46f06;
}

.page-app-vs-web__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-app-vs-web__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-app-vs-web__hero-image-wrapper {
  margin-top: 40px;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.page-app-vs-web__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-app-vs-web__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.page-app-vs-web__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-app-vs-web__section-title--light {
  color: #ffffff;
}

.page-app-vs-web__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #EA7C07;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-app-vs-web__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
  color: #333333;
}

.page-app-vs-web__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-app-vs-web__text-block a:hover {
  text-decoration: underline;
}

.page-app-vs-web__highlight {
  font-weight: bold;
  color: #26A9E0;
}

.page-app-vs-web__subsection-title {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: left;
}

.page-app-vs-web__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-app-vs-web__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-app-vs-web__image-left,
.page-app-vs-web__image-right {
  flex: 1;
  min-width: 300px;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-app-vs-web__text-content {
  flex: 1.5;
  min-width: 300px;
}

.page-app-vs-web__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-app-vs-web__feature-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-app-vs-web__feature-list li::before {
  content: '✓';
  color: #EA7C07;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-app-vs-web__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 20px;
}

.page-app-vs-web__comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 60px;
}

.page-app-vs-web__comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  min-width: 600px;
}

.page-app-vs-web__comparison-table th,
.page-app-vs-web__comparison-table td {
  border: 1px solid #e0e0e0;
  padding: 15px;
  text-align: left;
  color: #333333;
}

.page-app-vs-web__comparison-table th {
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
}

.page-app-vs-web__comparison-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.page-app-vs-web__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-app-vs-web__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-app-vs-web__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-app-vs-web__list-advantage,
.page-app-vs-web__list-disadvantage,
.page-app-vs-web__list-choice {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-app-vs-web__list-advantage li,
.page-app-vs-web__list-disadvantage li,
.page-app-vs-web__list-choice li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-app-vs-web__list-advantage li::before {
  content: '✔';
  color: #EA7C07;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-app-vs-web__list-disadvantage li::before {
  content: '✖';
  color: #ff4d4d;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-app-vs-web__list-choice li::before {
  content: '•';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5em;
  line-height: 0.8;
}

.page-app-vs-web__decision-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-app-vs-web__card--decision {
  text-align: center;
}

.page-app-vs-web__guide-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.page-app-vs-web__guide-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #333333;
}

.page-app-vs-web__guide-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-app-vs-web__guide-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.page-app-vs-web__guide-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.page-app-vs-web__guide-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  counter-increment: guide-counter;
}

.page-app-vs-web__guide-list li::before {
  content: counter(guide-counter) ".";
  color: #EA7C07;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-app-vs-web__faq-section {
  background: linear-gradient(135deg, #1a8cc2, #26A9E0);
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-app-vs-web__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-app-vs-web__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-app-vs-web__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-app-vs-web__faq-question:hover {
  background-color: #e0e0e0;
}

.page-app-vs-web__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-app-vs-web__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-app-vs-web__faq-item.active .page-app-vs-web__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 25px;
}

.page-app-vs-web__faq-item.active .page-app-vs-web__faq-toggle {
  transform: rotate(45deg);
}

.page-app-vs-web__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-app-vs-web__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-app-vs-web__faq-answer a:hover {
  text-decoration: underline;
}

.page-app-vs-web__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f0f8ff;
  color: #333333;
}

.page-app-vs-web__cta-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-app-vs-web__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-app-vs-web__cta-description a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-app-vs-web__cta-description a:hover {
  text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-app-vs-web__hero-title {
    font-size: 2.8em;
  }
  .page-app-vs-web__section-title {
    font-size: 2em;
  }
  .page-app-vs-web__subsection-title {
    font-size: 1.7em;
  }
}

@media (max-width: 768px) {
  .page-app-vs-web {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-app-vs-web__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-app-vs-web__hero-title {
    font-size: 2.2em;
  }

  .page-app-vs-web__hero-description {
    font-size: 1em;
  }

  .page-app-vs-web__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}