.apps-page {
  display: block;
  padding: calc(var(--nav-height) + clamp(32px, 6vh, 64px)) 24px 80px;
  background: #f8fafc;
  overflow: visible;
}

.apps-page-header {
  max-width: 820px;
  margin: 0 auto 56px;
  padding: 0 8px;
  text-align: center;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.apps-page-header .tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(76, 80, 231, 0.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apps-page-header h1 {
  margin: 0 0 16px;
  color: #111827;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.apps-page-header p {
  margin: 0;
  color: #64748b;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
}

.apps-section {
  max-width: 1140px;
  margin: 0 auto 40px;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.apps-section:last-child {
  margin-bottom: 0;
}

.apps-section-container {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  padding: 40px 40px 36px;
}

.apps-showcase-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.apps-showcase-content {
  flex: 1 1 42%;
  min-width: 280px;
  max-width: 520px;
}

.apps-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apps-app-badge i {
  font-size: 14px;
}

.apps-showcase-content h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
}

.apps-showcase-desc {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
}

.apps-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.apps-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.apps-feature-list i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(76, 80, 231, 0.1);
  color: var(--blue);
  font-size: 14px;
}

.apps-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.apps-cta-group .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.apps-cta-group.hero-actions {
  justify-content: flex-start;
}

.apps-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
}

.apps-meta-links a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.apps-meta-links a:hover {
  text-decoration: underline;
}

.apps-showcase-visual {
  flex: 1 1 46%;
  min-width: 280px;
  max-width: 420px;
}

.apps-showcase-visual .products-imgbox {
  max-width: 100%;
}

.apps-section-divider {
  height: 1px;
  margin: 40px 0;
  background: #e8edf3;
}

.apps-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 8px;
}

.apps-detail-card {
  min-width: 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
}

.apps-detail-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.apps-detail-card h3 i {
  color: var(--blue);
}

.apps-detail-card .legal-details-grid {
  display: grid;
  grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
  gap: 14px 16px;
  align-items: start;
  margin-top: 0;
}

.apps-detail-card .legal-details-grid dt {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.apps-detail-card .legal-details-grid dd {
  margin: 0;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.apps-detail-card .legal-details-grid dd code {
  display: inline;
  word-break: break-all;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.5;
}

.apps-detail-card .legal-details-grid dd a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.apps-detail-card .legal-details-grid dt:first-child {
  margin-top: 0;
}

.apps-ownership-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(76, 80, 231, 0.08);
  border-left: 4px solid var(--blue);
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.apps-ownership-notice i {
  margin-top: 2px;
  color: var(--blue);
}

.apps-publisher-block {
  padding-top: 4px;
}

.apps-publisher-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 700;
}

.apps-publisher-block .legal-details-grid {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 14px 24px;
  align-items: start;
}

.apps-publisher-block .legal-details-grid dd {
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.apps-publisher-block .legal-details-grid dt {
  font-size: 14px;
}

.apps-publisher-block .legal-details-grid dd {
  font-size: 15px;
  line-height: 1.6;
}

.apps-publisher-block .legal-details-grid dd a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.apps-publisher-block .legal-details-grid dd a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .apps-section-container {
    padding: 32px 28px;
  }

  .apps-showcase-row {
    gap: 32px;
  }

  .apps-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .apps-page {
    padding: calc(var(--nav-height) + 32px) 16px 56px;
  }

  .apps-section-container {
    padding: 28px 20px 28px;
  }

  .apps-page-header {
    margin-bottom: 40px;
  }

  .apps-showcase-row {
    gap: 28px;
    margin-bottom: 0;
  }

  .apps-feature-list {
    grid-template-columns: 1fr;
  }

  .apps-showcase-visual {
    max-width: 100%;
    width: 100%;
  }

  .apps-cta-group.hero-actions {
    justify-content: stretch;
  }

  .apps-cta-group .btn-hero {
    width: 100%;
    max-width: 100%;
  }

  .apps-section-divider {
    margin: 32px 0;
  }

  .apps-details-grid {
    gap: 16px;
  }

  .apps-detail-card .legal-details-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .apps-detail-card .legal-details-grid dt {
    margin-top: 14px;
  }

  .apps-detail-card .legal-details-grid dt:first-child {
    margin-top: 0;
  }

  .apps-publisher-block .legal-details-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .apps-publisher-block .legal-details-grid dt {
    margin-top: 12px;
  }

  .apps-publisher-block .legal-details-grid dt:first-child {
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .apps-meta-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .apps-meta-links span {
    display: none;
  }
}
