/* Velorian Systems — Page-specific styles */

/* Navbar extras */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1001;
}

.navbar__login-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.navbar__login-link:hover {
  color: var(--neon);
}

.navbar__link--active {
  color: var(--text) !important;
}

.navbar__link--active::after {
  width: 100% !important;
}

.navbar__link--portal {
  display: none;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.page-hero--short {
  padding: 140px 0 80px;
}

.page-hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--neon-glow);
  filter: blur(120px);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.25;
  pointer-events: none;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  position: relative;
}

.page-hero__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* Service detail blocks */
.service-detail {
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 32px;
  transition: var(--transition);
}

.service-detail:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.service-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.service-detail__num {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--neon);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 6px;
}

.service-detail h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-detail__intro {
  color: var(--text-muted);
  line-height: 1.65;
}

.service-detail__deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.service-detail__deliverables li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-detail__deliverables li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  flex-shrink: 0;
}

/* Tech strip */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
}

.tech-strip__item {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.tech-strip__item:hover {
  border-color: var(--border-hover);
  color: var(--neon);
}

/* FAQ accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item__question:hover {
  color: var(--neon);
}

.faq-item__icon {
  font-size: 1.4rem;
  color: var(--neon);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Values grid (about) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.value-card__icon {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--neon);
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Comparison table */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.compare-col {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.compare-col--highlight {
  border-color: var(--border-hover);
  box-shadow: 0 0 40px var(--neon-glow);
}

.compare-col h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.compare-col ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.compare-col ul li:last-child {
  border-bottom: none;
}

.compare-col--highlight ul li {
  color: var(--text);
}

/* Case study filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--border-hover);
  color: var(--neon);
  background: rgba(34, 224, 214, 0.08);
}

.case-study-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
}

.case-study-card.hidden {
  display: none;
}

.case-study-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.case-study-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--neon);
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.case-study-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.case-study-card__challenge,
.case-study-card__solution {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.case-study-card__result {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--neon);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* Contact page form */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 16px;
}

.contact-info__item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--neon);
  margin-bottom: 8px;
}

.contact-info__item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-form--full .contact-form__row {
  grid-template-columns: 1fr 1fr;
}

.contact-form select.contact-form__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b95a8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-message--success {
  display: block;
  background: rgba(34, 224, 214, 0.1);
  border: 1px solid var(--border-hover);
  color: var(--neon);
}

.form-message--error {
  display: block;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff6b6b;
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.auth-panel--brand {
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
}

.auth-panel--brand::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--neon-glow);
  filter: blur(120px);
  top: 20%;
  left: -20%;
  opacity: 0.3;
}

.auth-panel__logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 32px;
  position: relative;
}

.auth-panel__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
}

.auth-panel__sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 400px;
  position: relative;
}

.auth-panel--form {
  background: var(--bg);
}

.auth-form-wrap {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.auth-form-wrap h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-form-wrap > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.auth-form .contact-form__input {
  margin-bottom: 16px;
}

.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auth-form__footer {
  margin-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-form__footer a {
  color: var(--neon);
  font-weight: 500;
}

.auth-form__forgot {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: -8px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.auth-form__forgot:hover {
  color: var(--neon);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 20px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
}

.btn--google:hover {
  background: #f8f8f8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.auth-demo-note {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(34, 224, 214, 0.05);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Dashboard */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.dashboard-sidebar {
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.dashboard-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.dashboard-sidebar__brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.dashboard-sidebar__brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.dashboard-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.dashboard-nav__link:hover,
.dashboard-nav__link.active {
  background: rgba(34, 224, 214, 0.08);
  color: var(--neon);
}

.dashboard-nav__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dashboard-sidebar__logout {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.dashboard-main {
  padding: 40px;
  overflow-y: auto;
}

.dashboard-header {
  margin-bottom: 32px;
}

.dashboard-header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dashboard-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dashboard-panel {
  display: none;
}

.dashboard-panel.active {
  display: block;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.project-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.project-card__status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 16px;
}

.project-card__status--discovery {
  background: rgba(24, 168, 255, 0.15);
  color: var(--neon-2);
}

.project-card__status--build {
  background: rgba(34, 224, 214, 0.15);
  color: var(--neon);
}

.project-card__status--live {
  background: rgba(80, 255, 160, 0.12);
  color: #50ffa0;
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-card__milestone {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.messages-thread {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.messages-thread__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
}

.messages-thread__body {
  padding: 24px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-bubble {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.55;
}

.message-bubble--them {
  background: rgba(34, 224, 214, 0.1);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.message-bubble--you {
  background: rgba(24, 168, 255, 0.1);
  border: 1px solid rgba(24, 168, 255, 0.2);
  align-self: flex-end;
}

.message-bubble__meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.messages-thread__input {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.messages-thread__input input {
  flex: 1;
}

.doc-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
}

.doc-item:last-child {
  border-bottom: none;
}

.doc-item:hover {
  background: var(--bg-card-hover);
}

.doc-item__info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doc-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(34, 224, 214, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
}

.doc-item__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
}

.doc-item__date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.account-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  max-width: 500px;
}

.account-card__field {
  margin-bottom: 20px;
}

.account-card__field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.account-card__field span {
  font-size: 1rem;
  color: var(--text);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: rgba(255, 180, 50, 0.08);
  color: #ffb432;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-panel--brand {
    display: none;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: fixed;
    left: -280px;
    z-index: 1000;
    transition: left 0.3s ease;
    width: 260px;
  }

  .dashboard-sidebar.open {
    left: 0;
  }

  .dashboard-main {
    padding: 24px 16px;
  }

  .navbar__login-link {
    display: none;
  }

  .navbar__link--portal {
    display: block;
  }
}

@media (max-width: 600px) {
  .auth-form__row,
  .contact-form--full .contact-form__row {
    grid-template-columns: 1fr;
  }

  .service-detail {
    padding: 28px 20px;
  }

  .service-detail__header {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================
   Founder Spotlight — Homepage
   ============================================ */
.founder-spotlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 64px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hover);
  background: linear-gradient(135deg, rgba(34, 224, 214, 0.06) 0%, rgba(24, 168, 255, 0.04) 100%);
  position: relative;
  overflow: hidden;
}

.founder-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--neon-2), transparent);
}

.founder-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-hover);
  background: rgba(34, 224, 214, 0.08);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 8px;
}

.founder-spotlight__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.founder-spotlight__desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 640px;
}

.founder-spotlight__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.founder-spotlight__points span {
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Service detail — founder variant */
.service-detail--founder {
  border-color: var(--border-hover);
  background: linear-gradient(135deg, rgba(34, 224, 214, 0.05) 0%, rgba(24, 168, 255, 0.03) 100%);
  position: relative;
}

.service-detail--founder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--neon-2), transparent);
}

.service-detail__founder-badge {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 12px;
  border-radius: 50px;
  border: 1px solid var(--border-hover);
  background: rgba(34, 224, 214, 0.1);
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  vertical-align: middle;
}

@media (max-width: 900px) {
  .founder-spotlight {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 32px;
  }
}

@media (max-width: 600px) {
  .founder-spotlight {
    padding: 32px 20px;
  }

  .founder-spotlight__badge {
    font-size: 0.65rem;
  }
}

/* ============================================
   Project Configurator Wizard
   ============================================ */
.configurator {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.configurator__header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.configurator__header h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.configurator__header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.wizard-progress {
  display: flex;
  gap: 8px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.wizard-progress__step {
  flex: 1;
  min-width: 80px;
  text-align: center;
}

.wizard-progress__bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
  overflow: hidden;
}

.wizard-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--neon), var(--neon-2));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.wizard-progress__step.active .wizard-progress__fill,
.wizard-progress__step.done .wizard-progress__fill {
  width: 100%;
}

.wizard-progress__label {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-heading);
}

.wizard-progress__step.active .wizard-progress__label {
  color: var(--neon);
}

.wizard-body {
  padding: 32px 28px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.wizard-step__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.option-card {
  padding: 20px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(5, 7, 10, 0.4);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.option-card:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.option-card.selected {
  border-color: var(--neon);
  background: rgba(34, 224, 214, 0.08);
  color: var(--neon);
  box-shadow: 0 0 20px var(--neon-glow);
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-chip {
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 10, 0.4);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.option-chip:hover {
  border-color: var(--border-hover);
}

.option-chip.selected {
  border-color: var(--neon);
  background: rgba(34, 224, 214, 0.1);
  color: var(--neon);
}

.tag-input-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(5, 7, 10, 0.4);
  min-height: 52px;
}

.tag-input__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(34, 224, 214, 0.12);
  border: 1px solid var(--border-hover);
  font-size: 0.82rem;
  color: var(--neon);
}

.tag-pill button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.tag-pill button:hover {
  color: var(--text);
}

.tag-input__field {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.wizard-radio-group {
  margin-bottom: 24px;
}

.wizard-radio-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.wizard-actions__right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wizard-status {
  padding: 12px 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wizard-status--success {
  color: #50ffa0;
}

.wizard-status--error {
  color: #ff6b6b;
}

.spec-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: capitalize;
}

.spec-status-badge--draft {
  background: rgba(139, 149, 168, 0.2);
  color: var(--text-muted);
}

.spec-status-badge--submitted {
  background: rgba(24, 168, 255, 0.15);
  color: var(--neon-2);
}

.spec-status-badge--in-review {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.spec-status-badge--approved {
  background: rgba(80, 255, 160, 0.12);
  color: #50ffa0;
}

/* Message bubbles — client/admin aliases */
.message-bubble--client {
  background: rgba(24, 168, 255, 0.1);
  border: 1px solid rgba(24, 168, 255, 0.2);
  align-self: flex-end;
}

.message-bubble--admin {
  background: rgba(34, 224, 214, 0.1);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.message-bubble__sender {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 4px;
}

/* ============================================
   Admin Dashboard
   ============================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.admin-sidebar__brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.admin-sidebar__brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.admin-client-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px;
}

.admin-client-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
  color: inherit;
  font-family: inherit;
}

.admin-client-item:hover {
  background: rgba(34, 224, 214, 0.05);
  border-color: var(--border);
}

.admin-client-item--selected {
  background: rgba(34, 224, 214, 0.1);
  border-color: var(--border-hover);
}

.admin-client-item__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.admin-client-item__meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.admin-client-item__badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.65rem;
  background: rgba(24, 168, 255, 0.2);
  color: var(--neon-2);
}

.admin-main {
  padding: 32px 40px;
  overflow-y: auto;
}

.admin-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: var(--text-muted);
  font-size: 1rem;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.admin-tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
}

.admin-tab:hover {
  color: var(--text);
  background: rgba(34, 224, 214, 0.05);
}

.admin-tab.active {
  color: var(--neon);
  background: rgba(34, 224, 214, 0.1);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.spec-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.spec-summary__section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.spec-summary__section:last-child {
  border-bottom: none;
}

.spec-summary__section h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon);
  margin-bottom: 10px;
}

.spec-summary__section p,
.spec-summary__section ul {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.spec-summary__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-summary__tag {
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.spec-status-control {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.spec-status-control select {
  flex: 1;
  max-width: 240px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(5, 7, 10, 0.6);
  color: var(--text);
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    max-height: 280px;
  }

  .option-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .option-cards {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wizard-actions__right {
    justify-content: stretch;
  }

  .wizard-actions__right .btn {
    flex: 1;
  }
}
