/* ===== router-page.css ===== */

/* ---- Intro section ---- */
.intro-section {
  padding: 56px 0 48px;
  border-bottom: 1px solid #e8eaf2;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.intro-image img {
  width: 100%;
  max-width: 540px;
  display: block;
}
.intro-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2a3776;
  margin: 0 0 4px;
}
.intro-text .subtitle {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}
.intro-text p {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

/* ---- Properties grid ---- */
.properties-section {
  padding: 48px 0;
}
.properties-section .section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}
.prop-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.prop-icon {
  flex: 0 0 48px;
  text-align: center;
  padding-top: 4px;
}
.prop-icon img {
  width: 40px;
  height: 40px;
}
.prop-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #2a3776;
  margin: 0 0 8px;
}
.prop-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
.prop-body strong {
  color: #2a3776;
}

/* ---- Additional info ---- */
.additional-info-section {
  padding: 40px 0;
  border-top: 1px solid #e8eaf2;
}
.additional-info-section .section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.additional-info-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2a3776;
  text-align: center;
  margin: 0 0 32px;
}
.info-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-item {
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}
.info-item span {
  font-size: 20px;
  font-weight: 700;
  color: #2a3776;
  margin-right: 6px;
}

/* ---- Features gallery ---- */
.features-gallery-section {
  padding: 56px 0;
  border-top: 1px solid #e8eaf2;
  border-bottom: 1px solid #e8eaf2;
}
.features-gallery-section .section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.features-gallery-section .section-title {
  text-align: center;
  margin-bottom: 8px;
}
.features-gallery-section .section-title h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2a3776;
  margin: 0 0 4px;
}
.features-gallery-section .section-title .subtitle {
  font-size: 15px;
  color: #666;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.gallery-item {
  text-align: center;
  cursor: pointer;
}
.gallery-item .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #2a3776;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 8px;
}
.gallery-item .step-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2a3776;
  margin-bottom: 10px;
}
.gallery-item figure {
  margin: 0;
  border: 2px solid #e8eaf2;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.gallery-item:hover figure {
  border-color: #5b4be5;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-hidden {
  display: none;
}
.gallery-hidden.gallery-visible {
  display: block;
}
.show-more-btn {
  display: block;
  margin: 28px auto 0;
  background: none;
  border: none;
  color: #5b4be5;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ---- Video setup section ---- */
.setup-section {
  padding: 56px 0;
  border-bottom: 1px solid #e8eaf2;
}
.setup-section .section-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.setup-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: #2a3776;
  text-align: center;
  margin: 0 0 36px;
}
.setup-card {
  background: #f7f9ff;
  border: 1px solid #e8eaf2;
  border-radius: 12px;
  padding: 32px;
}
.setup-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.video-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.video-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.video-play-btn svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.setup-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2a3776;
  margin: 0 0 16px;
}
.setup-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.setup-info ul li {
  font-size: 14px;
  color: #555;
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.5;
}
.setup-info ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #5b4be5;
  font-weight: 700;
}
.setup-info p {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.6;
}
.notice-badge {
  display: inline-block;
  background: #e8f4ff;
  color: #2a3776;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #c5dff8;
}
.setup-actions {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e8eaf2;
}
.setup-actions h4 {
  font-size: 15px;
  font-weight: 700;
  color: #2a3776;
  text-align: center;
  margin: 0 0 16px;
}
.setup-action-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #e63946;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-secondary:hover { background: #c72d3a; }
.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #e63946;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid #e63946;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #e63946; color: #fff; }

/* ---- Page hero (router variant) ---- */
.router-hero {
  background: linear-gradient(135deg, #2a3776 0%, #3c4fa6 50%, #5b4be5 100%);
  padding: 48px 0 40px;
  text-align: center;
}
.router-hero .breadcrumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.router-hero .breadcrumbs a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.router-hero .breadcrumbs a:hover { color: #fff; }
.router-hero .breadcrumbs span { margin: 0 6px; }
.router-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* ===== BTN-DL (CTA button) ===== */
.btn-dl {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 4px;
  transition: background 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.btn-dl:hover { background: var(--accent-hover); color: #fff; }

/* ===== DOWNLOAD CARDS ===== */
.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.download-card {
  background: #fff;
  border: 1.5px solid #e5e9f7;
  border-radius: 10px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.download-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.download-card h3 a { color: inherit; text-decoration: none; }
.download-card h3 a:hover { color: var(--accent); }
.download-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.download-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 10px;
}
.download-card ul li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  background: url('/assets/images/icon/check.svg') center/contain no-repeat;
  margin-top: 2px;
}
.download-card .btn-dl {
  display: block;
  font-size: 15px;
  padding: 13px 28px;
  text-align: center;
  border-radius: 4px;
  margin-top: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-image { order: 1; }
  .intro-text { order: 2; }
  .properties-grid { grid-template-columns: 1fr 1fr; }
  .info-items { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .setup-inner { grid-template-columns: 1fr; }
  .download-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .router-hero h1 { font-size: 26px; }
  .properties-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .setup-action-btns { flex-direction: column; align-items: center; }
  .setup-card { padding: 20px; }
}
