/* ============================================================
   GENZ4GTM Brand Kit — Showcase Page Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  background: #F5F0E8;
  color: #2B0B3F;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ── */
.site-header {
  background: #1E0A2E;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: #fff;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FF4F9A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.download-btn:hover { opacity: 0.85; }

/* ── SECTIONS ── */
.section {
  padding: 72px 0;
}

.section--dark {
  background: #1E0A2E;
}

.section--purple {
  background: #2B0B3F;
}

.section--light {
  background: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2B0B3F;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  max-width: 560px;
}

.subsection-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #FF4F9A;
  margin: 32px 0 12px;
}

.subsection-label:first-of-type { margin-top: 24px; }

/* ── COLOR SWATCHES ── */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.color-swatch {
  border-radius: 12px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 110px;
  color: #fff;
}

.swatch-name {
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
}

.swatch-hex {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

.swatch-var {
  font-size: 10px;
  font-family: 'Courier New', monospace;
  opacity: 0.6;
}

/* ── COLOR LOGIC ── */
.logic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.logic-card {
  border-radius: 12px;
  padding: 16px;
}

.logic-bg-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logic-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logic-row:last-child { border-bottom: none; }

.logic-key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.logic-val {
  font-size: 11px;
  font-weight: 700;
}

.new-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ── LABELS ── */
.label-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.label-demo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.label-demo code {
  font-size: 10px;
  font-family: 'Courier New', monospace;
  color: rgba(43,11,63,0.45);
}

/* ── ICONS ── */
.icon-category {
  margin-bottom: 40px;
}

.cat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 16px 12px 12px;
  min-width: 80px;
  transition: background 0.15s;
}

.icon-item svg {
  display: block;
  flex-shrink: 0;
}

.icon-item:hover {
  background: rgba(255,255,255,0.12);
}

.icon-item span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.icon-item--light {
  background: rgba(255,255,255,0.85);
}

.icon-item--light span {
  color: rgba(43,11,63,0.5);
}

/* ── TYPOGRAPHY ── */
.type-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border: 1.5px solid rgba(43,11,63,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.type-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1.5px solid rgba(43,11,63,0.06);
  background: #fff;
}

.type-row:last-child { border-bottom: none; }

.type-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(43,11,63,0.35);
  min-width: 180px;
  flex-shrink: 0;
}

.type-sample {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
}

/* ── COMPONENTS ── */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

/* ── CODE BLOCKS ── */
.code-block {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.code-label {
  background: rgba(255,255,255,0.06);
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF4F9A;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-block pre {
  background: rgba(0,0,0,0.3);
  padding: 16px;
  overflow-x: auto;
}

.code-block code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* ── FOOTER ── */
.site-footer {
  background: #1E0A2E;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.site-footer a {
  font-size: 12px;
  font-weight: 600;
  color: #FF4F9A;
  text-decoration: none;
}

.site-footer a:hover { opacity: 0.8; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .brand-sub { display: none; }
  .type-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .type-label { min-width: unset; }
  .logic-grid { grid-template-columns: 1fr 1fr; }
  .color-grid { grid-template-columns: 1fr 1fr; }
}