/* ==========================================================================
   PROTEAN IMAGE GROUP — CREATIVE LAB DESIGN SYSTEM
   Inspired by creativelab5.com — Numbered nav, bold accents, interactive hover cards
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-white: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-card: #f3f4f6;
  --border-light: #e5e7eb;
  --border-dark: #111827;
  
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-sub: #9ca3af;
  
  --num-1: #2563eb; /* Royal Blue */
  --num-2: #059669; /* Emerald Green */
  --num-3: #d97706; /* Amber Yellow */
  --num-4: #7c3aed; /* Violet Purple */
  --num-5: #dc2626; /* Crimson Red */
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-white);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-white);
}

::selection {
  background: var(--text-main);
  color: var(--bg-white);
}

/* Number Badges */
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  margin-right: 0.4rem;
}

.num-badge.b-1 { background: var(--num-1); }
.num-badge.b-2 { background: var(--num-2); }
.num-badge.b-3 { background: var(--num-3); }
.num-badge.b-4 { background: var(--num-4); }
.num-badge.b-5 { background: var(--num-5); }

/* Navigation */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section-heading {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 780px;
}

/* Projects List (Creative Lab Style) */
.project-list {
  list-style: none;
  margin-top: 2rem;
}

.project-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.75rem 0;
  transition: background 0.2s;
}

.project-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s, transform 0.2s;
}

.project-item:hover .project-title {
  color: var(--num-1);
  transform: translateX(6px);
}

.project-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-sub);
}

.project-desc {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.project-mini-thumb {
  width: 140px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Floating Mouse Preview Box */
.floating-preview {
  position: fixed;
  width: 320px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-preview.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.floating-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accordion FAQ & Roster */
.accordion-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-white);
  transition: border-color 0.2s;
}

.accordion-item:hover {
  border-color: var(--border-dark);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.accordion-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Step Form */
.step-form-wrapper {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--num-1);
}

.pill-checkbox-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pill-btn.selected {
  background: var(--text-main);
  color: var(--bg-white);
  border-color: var(--text-main);
}

.btn-submit-lab {
  background: var(--num-5);
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit-lab:hover {
  opacity: 0.9;
}

/* Footer */
.footer-lab {
  padding: 4rem 0 2rem;
  font-size: 0.85rem;
  color: var(--text-sub);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .section-heading { font-size: 2.1rem; }
  .nav-links { display: none; }
  .project-desc { flex-direction: column; align-items: flex-start; }
  .project-mini-thumb { width: 100%; }
}
