
#architecture {
  background: var(--bg-gray);
}

#roles .role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}
#roles .role-icon svg {
  width: 36px;
  height: 36px;
}
#roles .role-card:hover .role-icon {
  color: var(--primary-dark);
  filter: drop-shadow(0 2px 8px rgba(22, 93, 255, 0.28));
}

.sec-compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}
.sec-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.sec-compare-table th,
.sec-compare-table td {
  padding: 16px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.sec-compare-table thead th {
  background: var(--primary);
  color: #fff;
}
.sec-compare-table tbody tr:nth-child(even) {
  background: var(--bg-gray);
}
.sec-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.sec-industry-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.sec-industry-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sec-industry-nav .tab-btn {
  width: 100%;
  text-align: left;
  border-radius: var(--radius-btn);
}
#industries .sec-industry-nav .tab-btn {
  font-size: 16px;
  padding: 14px 20px;
}
.sec-industry-panel {
  display: none;
}
.sec-industry-panel.active {
  display: block;
}
#industries .sec-industry-panels {
  min-height: 392px;
}
#industries .sec-industry-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 392px;
  height: 392px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#industries .sec-industry-card-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
#industries .sec-industry-card h3 {
  margin-bottom: 16px;
}
#industries .sec-industry-card-body > p {
  margin-bottom: 24px;
  line-height: 1.7;
}
#industries .sec-industry-card-body .feature-list {
  margin-bottom: 24px;
}
#industries .sec-industry-card-body .feature-list li:last-child {
  margin-bottom: 0;
}
.sec-industry-cta {
  margin-top: 24px;
  flex-shrink: 0;
}
.sec-industry-footnote {
  margin-top: 32px;
  text-align: center;
}

.sec-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.sec-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow);
}
.sec-pricing-card.is-featured {
  background: var(--primary-light);
  border-width: 2px;
}
.sec-pricing-card.is-soon {
  background: var(--bg-gray);
  border-color: var(--border);
}
.sec-pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 16px;
  border-radius: 100px;
  background: var(--accent);
  white-space: nowrap;
}
.sec-pricing-badge.is-muted {
  background: var(--border);
}
.sec-pricing-list {
  flex: 1;
  margin: 20px 0 24px;
}
.sec-pricing-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.sec-pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
}
.sec-pricing-list li.is-no::before {
  content: '✕';
  color: var(--text-light);
}

.sec-arch-steps {
  margin-bottom: 40px;
}
.sec-arch-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.sec-arch-adv-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.sec-panel-shot {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gray);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  padding: 24px;
  text-align: center;
}

@media (max-width: 1024px) {
  .sec-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .sec-arch-advantages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sec-industry-layout {
    grid-template-columns: 1fr;
  }
  #industries .sec-industry-nav .tab-btn {
    font-size: 16px;
  }
  #industries .sec-industry-panels {
    min-height: 0;
  }
  #industries .sec-industry-card {
    min-height: 0;
    height: auto;
    padding: 20px 20px 24px;
    overflow: visible;
  }
  #industries .sec-industry-card-body {
    overflow-y: visible;
    flex: none;
  }
  #industries .sec-industry-card h3 {
    margin-bottom: 12px;
  }
  #industries .sec-industry-card-body > p {
    margin-bottom: 16px;
  }
  #industries .sec-industry-card-body .feature-list {
    margin-bottom: 16px;
  }
  #industries .sec-industry-cta {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
}

#contact.cta {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}
#contact .cta-dynamic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 25%, rgba(26, 109, 255, 0.35), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(255, 125, 0, 0.14), transparent 50%);
  animation: cta-bg-shift 8s ease-in-out infinite alternate;
}
@keyframes cta-bg-shift {
  from { opacity: 0.55; }
  to { opacity: 1; }
}
#contact .cta-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
  align-items: center;
}
#contact .cta-info {
  display: flex;
  justify-content: center;
}
#contact .cta-content {
  width: 100%;
  max-width: 680px;
  text-align: center;
}
#contact .cta-content h2 {
  margin-bottom: 12px;
}
#contact .cta-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  margin-bottom: 12px;
}
#contact .cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 24px;
}
#contact .cta-actions {
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 0;
}
#contact .cta-qr-trigger.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
#contact .cta-qr-trigger.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 125, 0, 0.35);
}
#contact .cta-qr-trigger.is-pressed {
  animation: cta-btn-shake 0.45s ease;
}
@keyframes cta-btn-shake {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(0.94); }
  45% { transform: scale(1.05); }
  70% { transform: scale(0.97); }
}
#contact .cta-qr-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  align-self: center;
}
#contact .cta-qr-caption {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
#contact .cta-qr-image {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border-radius: var(--radius-btn);
  background: #fff;
  padding: 4px;
  display: block;
}

.cta-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cta-modal.is-open {
  display: flex;
}
.cta-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(4px);
}
.cta-modal-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 320px;
  width: 100%;
  border: 1px solid var(--border);
}
.cta-modal-title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.cta-modal-qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-btn);
}
.cta-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-gray);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}
.cta-modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

@media (max-width: 768px) {
  #contact.cta {
    padding: 48px 0;
  }
  #contact .cta-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 0;
  }
  #contact .cta-info {
    justify-content: stretch;
  }
  #contact .cta-content {
    max-width: none;
  }
  #contact .cta-content h2 {
    margin-bottom: 10px;
  }
  #contact .cta-lead {
    margin-bottom: 10px;
  }
  #contact .cta-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }
  #contact .cta-actions {
    justify-content: center;
    margin-bottom: 4px;
  }
  #contact .cta-qr-trigger {
    width: 85%;
    max-width: 360px;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  #contact .cta-qr-side {
    padding-top: 0;
    margin-top: 0;
  }
  #contact .cta-qr-caption {
    font-size: 18px;
    margin-bottom: 10px;
  }
  #contact .cta-qr-image {
    width: 136px;
    height: 136px;
  }
  .cta-modal-dialog {
    padding: 28px 20px 24px;
  }
  .cta-modal-qr {
    width: 180px;
    height: 180px;
  }
}

.footer-qr {
  text-align: center;
  flex-shrink: 0;
}
.footer-qr-caption {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.footer-qr-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #fff;
  padding: 4px;
  border-radius: var(--radius-btn);
}

@media (max-width: 768px) {
  .footer-qr-img {
    width: 120px;
    height: 120px;
  }
}

.product-panel-shot {
  width: 100%;
  padding: 16px;
  overflow: hidden;
}

.product-panel-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1000 / 640;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.product-panel-img-fallback {
  display: none;
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-body);
  text-align: center;
}

.product-panel-shot.is-error .product-panel-img {
  display: none;
}

.product-panel-shot.is-error .product-panel-img-fallback {
  display: block;
}

@media (max-width: 768px) {
  .product-panel-shot {
    padding: 12px;
    min-height: auto;
  }

  .product-panel-img {
    width: 100%;
  }

  #solutions .product-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 32px;
  }

  #solutions .product-tabs .tab-btn {
    width: 100%;
    flex: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding: 10px 8px;
  }

  #solutions .panel-content {
    gap: 24px;
    padding: 20px;
  }

  #solutions .panel-content > * {
    min-width: 0;
  }

  #solutions .panel-visual {
    width: 100%;
  }

  #industries .sec-industry-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
  }

  #industries .sec-industry-nav .tab-btn {
    width: 100%;
    flex: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    padding: 12px 8px;
  }

  .sec-industry-footnote {
    margin-top: 24px;
    padding: 0 4px;
  }

  .sec-compare-wrap {
    margin-left: -4px;
    margin-right: -4px;
    -webkit-overflow-scrolling: touch;
  }

  .sec-pricing-card .btn {
    width: 100%;
    justify-content: center;
  }

  #contact .cta-desc {
    text-align: center;
  }
}
