/* ============================================
   APP MOCKUP SCREENSHOTS
   Pixel-accurate HTML/CSS replicas of real
   Ceendesis app screens for marketing pages.
   ============================================ */

/* Shopify Polaris-like card */
.mock-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.mock-card h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-text);
  letter-spacing: 0;
  margin-bottom: 12px;
}

/* Polaris-like data table */
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mock-table th {
  text-align: left;
  padding: 8px 10px;
  font-weight: 600;
  font-size: 11px;
  color: #6d7175;
  border-bottom: 1px solid #e1e3e5;
  white-space: nowrap;
}

.mock-table td {
  padding: 10px;
  border-bottom: 1px solid #f1f2f3;
  color: #202223;
  font-size: 12px;
}

.mock-table tr:last-child td {
  border-bottom: none;
}

/* Polaris-like badge */
.mock-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.mock-badge.success { background: #aee9d1; color: #0d5e3c; }
.mock-badge.warning { background: #ffea8a; color: #6a5300; }
.mock-badge.critical { background: #ffdad6; color: #ba1a1a; }
.mock-badge.info { background: #a4e8f2; color: #00474f; }
.mock-badge.subdued { background: #e4e5e7; color: #6d7175; }
.mock-badge.attention { background: #ffeba3; color: #7a5800; }

/* Polaris-like form field */
.mock-field {
  margin-bottom: 12px;
}

.mock-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #202223;
  margin-bottom: 4px;
}

.mock-field .mock-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #8c9196;
  border-radius: 8px;
  font-size: 13px;
  color: #202223;
  background: #fff;
}

.mock-field .mock-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #8c9196;
  border-radius: 8px;
  font-size: 13px;
  color: #202223;
  background: #fff url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236d7175' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 10px;
  -webkit-appearance: none;
  appearance: none;
}

/* Polaris-like button */
.mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
  cursor: default;
}

.mock-btn.primary {
  background: #006855;
  color: #fff;
  border-color: #006855;
}

.mock-btn.secondary {
  background: #fff;
  color: #202223;
  border-color: #8c9196;
}

.mock-btn.critical {
  background: #ba1a1a;
  color: #fff;
  border-color: #ba1a1a;
}

/* Fiber composition bar */
.fiber-bar {
  display: flex;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  margin: 8px 0;
}

.fiber-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding: 0 6px;
}

/* Eco-modulation panel */
.eco-panel {
  background: #f0faf5;
  border: 1px solid #aee9d1;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
}

.eco-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 12px;
}

.eco-panel-row .eco-label { color: #6d7175; }
.eco-panel-row .eco-value { font-weight: 700; color: #202223; }
.eco-panel-row .eco-value.green { color: #006855; }
.eco-panel-row .eco-value.red { color: #ba1a1a; }

/* Green Claims violation card */
.gc-violation {
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 4px solid;
  margin-bottom: 8px;
  font-size: 12px;
}

.gc-violation.high {
  background: #fef5f5;
  border-color: #ba1a1a;
}

.gc-violation.medium {
  background: #fffbeb;
  border-color: #f5a623;
}

.gc-violation .gc-term {
  font-weight: 700;
  color: #202223;
}

.gc-violation .gc-rule {
  color: #6d7175;
  font-size: 11px;
  margin-top: 2px;
}

.gc-violation .gc-fix {
  color: #006855;
  font-size: 11px;
  margin-top: 4px;
  font-weight: 600;
}

/* Jurisdiction header band */
.mock-jurisdiction {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  margin-bottom: 12px;
}

.mock-jurisdiction-header {
  background: linear-gradient(135deg, #006855 0%, #0c8a72 100%);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.mock-jurisdiction-header span {
  font-size: 14px;
  font-weight: 700;
}

.mock-jurisdiction-body {
  padding: 16px 18px;
  background: #fff;
}

/* DPP passport page mockup */
.dpp-page {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e1e3e5;
  overflow: hidden;
}

.dpp-header {
  background: linear-gradient(135deg, #006855 0%, #0c8a72 100%);
  padding: 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dpp-header h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}

.dpp-header .dpp-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.dpp-qr {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dpp-qr svg {
  width: 44px;
  height: 44px;
}

.dpp-body {
  padding: 20px;
}

.dpp-field {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f2f3;
  font-size: 13px;
}

.dpp-field:last-child { border-bottom: none; }
.dpp-field .dpp-key { color: #6d7175; }
.dpp-field .dpp-val { font-weight: 600; color: #202223; }

/* Readiness score circle */
.dpp-score {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #006855;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: #006855;
  margin: 0 auto;
}

/* Screenshot wrapper with label */
.screenshot-wrapper {
  margin: 32px 0;
}

.screenshot-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .mock-table {
    font-size: 11px;
  }

  .mock-table th,
  .mock-table td {
    padding: 6px 8px;
  }

  .dpp-header {
    flex-direction: column;
    gap: 12px;
  }

  .app-stats {
    grid-template-columns: 1fr 1fr;
  }

  .mock-jurisdiction-body {
    padding: 12px;
  }

  .mock-jurisdiction-header span {
    font-size: 13px;
  }

  .mock-card {
    padding: 12px 16px;
  }

  .fiber-bar {
    height: 20px;
  }

  .eco-panel {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .app-stats {
    grid-template-columns: 1fr;
  }

  .mock-table th,
  .mock-table td {
    padding: 5px 6px;
    font-size: 10px;
  }

  .mock-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .mock-jurisdiction-body > div[style*="display:flex"] {
    flex-direction: column !important;
  }

  .dpp-score {
    width: 52px;
    height: 52px;
    font-size: 15px;
  }

  .gc-violation {
    padding: 8px 12px;
    font-size: 11px;
  }
}
