/* ============================================================
   Landing Page Labs — Client Hub Styles
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #222222;
  background: #f5f5f5;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0000FF; text-decoration: underline; }
a:hover { opacity: 0.8; }

/* ---------- Loading ---------- */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #eee;
  border-top-color: #222;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Error ---------- */
.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 40px;
}

.error__title {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 36px;
  color: #000;
  margin-bottom: 16px;
}

.error__text {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
}

.error__link {
  font-weight: 600;
  font-size: 14px;
}

/* ---------- PIN Gate ---------- */
.pin-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
  background: #f5f5f5;
}

.pin-gate__card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.pin-gate__logo {
  display: inline-block;
  margin-bottom: 32px;
}

.pin-gate__logo img {
  height: 28px;
  width: auto;
}

.pin-gate__title {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 24px;
  color: #000;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pin-gate__text {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.pin-gate__input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pin-gate__input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  text-align: center;
  letter-spacing: 0.15em;
  transition: border-color 0.15s ease;
}

.pin-gate__input:focus {
  border-color: #0000FF;
}

.pin-gate__btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.pin-gate__btn:hover {
  background: #000;
}

.pin-gate__error {
  font-size: 13px;
  color: #D32F2F;
  margin-bottom: 16px;
}

.pin-gate__help {
  font-size: 13px;
  color: #888;
}

.pin-gate__help a {
  color: #0000FF;
}

/* ---------- Header ---------- */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 24px;
  text-align: center;
}

.header__logo img {
  height: 28px;
  width: auto;
  display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  background: #fff;
  padding: 48px 24px 36px;
  text-align: center;
}

.hero__client-logo {
  margin-bottom: 24px;
  text-align: center;
}

.hero__client-logo img {
  height: 48px;
  width: auto;
  display: inline-block;
}

.hero__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0000FF;
  margin-bottom: 8px;
  background: #EEF0FF;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
}

.hero__title {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  color: #000;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin: 12px auto 0;
}

.hero__updated {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
}

/* ---------- Note Box (inside hero) ---------- */
.note {
  max-width: 880px;
  margin: 24px auto 0;
  padding: 0 24px;
  text-align: left;
}

.note__box {
  background: #FFFDF5;
  border: 2px dashed #E0C97F;
  border-radius: 8px;
  padding: 20px 24px;
}

.note__text {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.note__text strong {
  color: #333;
}

/* ---------- Table of Contents ---------- */
.toc {
  padding: 0 24px 8px;
}

.toc__inner {
  max-width: 880px;
  margin: 0 auto;
}

.toc__box {
  background: #fff;
  border-radius: 12px;
  padding: 28px 36px;
}

.toc__heading {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 18px;
  color: #000;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.toc__list {
  list-style: none;
  padding: 0;
}

.toc__list li {
  margin-bottom: 6px;
}

.toc__list a {
  font-size: 14px;
  font-weight: 500;
  color: #0000FF;
  text-decoration: none;
}

.toc__list a:hover {
  text-decoration: underline;
}

/* ---------- Sections Container ---------- */
.sections {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Card ---------- */
.hub-section {
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  margin-top: 12px;
}

.hub-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.hub-section__heading {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 22px;
  color: #000;
  letter-spacing: -0.02em;
}

/* ---------- Open All Button ---------- */
.open-all-btn {
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.open-all-btn:hover {
  background: #EBEBEB;
  border-color: #CCC;
  color: #333;
}

/* ---------- Asset Row (shared base) ---------- */
.asset-row {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 8px;
  margin: 0 -16px;
}

.asset-row--alt {
  background: #FAFAFA;
}

.asset-row__label {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  min-width: 200px;
  max-width: 240px;
  flex-shrink: 0;
  padding-top: 2px;
  padding-right: 16px;
}

.asset-row__content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* ---------- URL Links ---------- */
.asset-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.asset-link:last-child {
  margin-bottom: 0;
}

.asset-link__tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1;
}

.asset-link__tag--live {
  background: #E8F5E9;
  color: #2E7D32;
}

.asset-link__tag--staging {
  background: #E3F2FD;
  color: #1565C0;
}

.asset-link__url {
  font-size: 13px;
  color: #0000FF;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.asset-link__url:hover {
  text-decoration: underline;
}

/* ---------- Copy Button ---------- */
.copy-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.copy-btn:hover {
  border-color: #999;
  color: #333;
  background: #fafafa;
}

.copy-btn--copied {
  border-color: #2E7D32;
  color: #2E7D32;
  background: #E8F5E9;
}

/* ---------- Single Link Row ---------- */
.asset-row__single-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.asset-row__single-link a {
  font-size: 13px;
  color: #0000FF;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.asset-row__single-link a:hover {
  text-decoration: underline;
}

/* ---------- Detail Value Row ---------- */
.asset-row__detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.asset-row__value {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  background: #F6F6F6;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #ddd;
  flex: 1;
}

/* ---------- Row Note ---------- */
.asset-row__note {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #999;
  margin-left: 6px;
  font-style: italic;
}

/* ---------- Open Button (arrow icon) ---------- */
.open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #888;
  flex-shrink: 0;
  transition: all 0.15s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.open-btn:hover {
  border-color: #0000FF;
  color: #0000FF;
  background: #EEF0FF;
  opacity: 1;
}

/* ---------- Review CTA ---------- */
.review-cta {
  max-width: 880px;
  margin: 16px auto 0;
  padding: 0 24px;
}

.review-cta__inner {
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  text-align: center;
}

.review-cta__text {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
}

.review-cta__btn {
  display: inline-block;
  background: #0000FF;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.review-cta__btn:hover {
  background: #0000CC;
  opacity: 1;
  color: #fff;
}

/* ---------- Footer ---------- */
.hub-footer {
  text-align: center;
  padding: 48px 24px 40px;
}

.hub-footer__inner {
  max-width: 880px;
  margin: 0 auto;
}

.hub-footer__text {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
}

.hub-footer__text a {
  color: #0000FF;
}

.hub-footer__logo {
  height: 28px;
  width: auto;
  opacity: 0.4;
  display: inline-block;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero {
    padding: 36px 20px 24px;
  }

  .hero__client-logo img {
    height: 36px;
  }

  .note {
    margin-top: 20px;
  }

  .note__box {
    padding: 16px 20px;
  }

  .open-all-btn {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }

  .toc {
    padding: 0 16px 8px;
  }

  .toc__box {
    padding: 20px;
  }

  .sections {
    padding: 0 16px;
  }

  .hub-section {
    padding: 20px;
  }

  .hub-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hub-section__heading {
    font-size: 18px;
  }

  .asset-row {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    margin: 0 -12px;
  }

  .asset-row__label {
    min-width: unset;
    max-width: unset;
    font-size: 13px;
    padding-right: 0;
  }

  .asset-link {
    gap: 6px;
  }

  .asset-link__url {
    font-size: 12px;
  }

  .asset-row__content {
    width: 100%;
  }

  .asset-row__single-link {
    max-width: 100%;
    overflow: hidden;
  }

  .asset-row__single-link a {
    font-size: 12px;
  }

  .asset-link {
    max-width: 100%;
    overflow: hidden;
  }

  .copy-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .asset-row__detail {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .asset-row__value {
    font-size: 12px;
    padding: 8px 10px;
  }

  .review-cta {
    padding: 0 16px;
  }

  .review-cta__inner {
    padding: 24px 20px;
  }

  .review-cta__btn {
    width: 100%;
    text-align: center;
  }

  .hub-footer {
    padding: 40px 20px 32px;
  }
}
