:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --page-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --section-padding-desktop: 80px 0;
  --section-padding-mobile: 40px 0;
}

.page-download {
  color: var(--text-main);
  background-color: var(--page-bg);
}

.page-download img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-download__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px;
  padding-bottom: var(--section-padding-desktop);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-download__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-download__main-title {
  color: var(--light-text-color);
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-download__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: var(--button-gradient);
  color: var(--light-text-color);
  border: none;
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-download__btn-secondary {
  background: var(--card-bg);
  color: var(--secondary-color);
  border: 2px solid var(--border-color);
}

.page-download__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background: rgba(23, 25, 31, 0.8);
}

.page-download__btn-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.page-download__btn-icon--apple {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23FFF3E6"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm80.3 365.3c-1.6 4.3-6.3 6.6-11 5.3-4.7-1.3-7.3-6-5.6-10.3 1.6-4.3 6.3-6.6 11-5.3 4.7 1.3 7.3 6 5.6 10.3zM288 192c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zM384 192c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zM256 448c-88.4 0-160-71.6-160-160 0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32 0 88.4-71.6 160-160 160z"/></svg>');
}

.page-download__btn-icon--android {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23FFF3E6"><path d="M480 32H32C14.3 32 0 46.3 0 64v384c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM128 160c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 0c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm-64 128c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32v-32c0-17.7-14.3-32-32-32h-64z"/></svg>');
}


.page-download__section-title {
  color: var(--primary-color);
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-download__features-section,
.page-download__guide-section,
.page-download__qr-section,
.page-download__faq-section,
.page-download__seo-text-section {
  padding: var(--section-padding-desktop);
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-download__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
  border-radius: 10px;
  margin: 40px auto;
}

.page-download__features-section {
  overflow-x: hidden;
}

.page-download__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-download__feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-download__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-download__feature-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-download__feature-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-main);
}

.page-download__guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-download__guide-block {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-download__guide-subtitle {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-download__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 25px;
  color: var(--text-main);
}

.page-download__guide-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-download__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-download__qr-section {
  text-align: center;
  padding: var(--section-padding-desktop);
  background-color: var(--card-bg);
  border-radius: 10px;
}

.page-download__qr-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-download__qr-codes {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-download__qr-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 300px;
}

.page-download__qr-image {
  width: 200px;
  height: 200px;
  margin-bottom: 15px;
  object-fit: contain;
  background-color: var(--light-text-color);
  padding: 10px;
  border-radius: 5px;
}

.page-download__qr-label {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--secondary-color);
}

.page-download__faq-section {
  padding: var(--section-padding-desktop);
  max-width: 900px;
}

details.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
}
details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-download__faq-item summary.page-download__faq-question::-webkit-details-marker {
  display: none;
}
details.page-download__faq-item summary.page-download__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}
.page-download__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-download__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-download__faq-item .page-download__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
.page-download__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-download__seo-text-section {
  padding: var(--section-padding-desktop);
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-download__article-body {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-main);
}

.page-download__article-body p {
  margin-bottom: 1.2em;
}

.page-download__article-body strong {
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .page-download__hero-section {
    padding-bottom: var(--section-padding-mobile);
  }

  .page-download__features-section,
  .page-download__guide-section,
  .page-download__qr-section,
  .page-download__faq-section,
  .page-download__seo-text-section {
    padding: var(--section-padding-mobile) 20px;
  }

  .page-download__section-title {
    margin-bottom: 30px;
  }
}