/* ============================================================
   pipefluence-aux.css — pages-aux scope CSS
   Prefix: pf-  | Indent: 2-space | Generated: web0519
   Covers: team, contact, 404, auth pages
   ============================================================ */

/* ============================================================
   TEAM PAGE — A-grid variant (3 columns)
   ============================================================ */
.pf-team {
  padding: 88px 0;
  background: #ffffff;
}

.pf-team__inner {
  max-width: var(--pf-container);
  margin: 0 auto;
  padding: 0 24px;
}

.pf-team__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.pf-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pf-team__card {
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pf-team__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.1);
}

.pf-team__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pf-team__card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pf-team__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--pf-text-primary);
  margin: 0 0 6px;
  font-family: var(--pf-font-display);
}

.pf-team__role {
  font-size: 14px;
  color: var(--pf-accent);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 900px) {
  .pf-team__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 576px) {
  .pf-team__grid { grid-template-columns: 1fr; }
  .pf-team { padding: 60px 0; }
}

/* ============================================================
   CONTACT PAGE — A-split (form + info)
   ============================================================ */
.pf-contact {
  padding: 88px 0;
  background: #ffffff;
}

.pf-contact__inner {
  max-width: var(--pf-container);
  margin: 0 auto;
  padding: 0 24px;
}

.pf-contact__split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.pf-contact__form-side { }

.pf-contact__info-side { }

.pf-contact__info-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--pf-text-primary);
  margin-bottom: 20px;
  font-family: var(--pf-font-display);
}

.pf-contact__info-lede {
  font-size: 16px;
  color: var(--pf-text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.pf-contact__info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}

.pf-contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.pf-contact__info-icon {
  width: 38px;
  height: 38px;
  background: rgba(79, 70, 229, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pf-accent);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pf-contact__info-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pf-text-muted);
  margin-bottom: 4px;
}

.pf-contact__info-value {
  font-size: 15px;
  color: var(--pf-text-body);
  line-height: 1.5;
}

.pf-contact__info-value a {
  color: var(--pf-text-body);
  text-decoration: none;
}
.pf-contact__info-value a:hover { color: var(--pf-accent); opacity: 1; }

/* Contact Form */
.pf-form { }

.pf-form__heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--pf-text-primary);
  margin-bottom: 8px;
  font-family: var(--pf-font-display);
}

.pf-form__subheading {
  font-size: 15px;
  color: var(--pf-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pf-form__group {
  margin-bottom: 20px;
}

.pf-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pf-form__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--pf-text-primary);
  margin-bottom: 6px;
}

.pf-form__input,
.pf-form__select,
.pf-form__textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--pf-text-primary);
  background: #ffffff;
  border: 1.5px solid var(--pf-border);
  border-radius: 8px;
  box-sizing: border-box;
  font-family: var(--pf-font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.pf-form__input:focus,
.pf-form__select:focus,
.pf-form__textarea:focus {
  border-color: var(--pf-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.pf-form__input::placeholder,
.pf-form__textarea::placeholder {
  color: #94a3b8;
}

.pf-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.pf-form__submit {
  width: 100%;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  background: var(--pf-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--pf-font-sans);
  transition: filter 0.2s;
  margin-top: 8px;
}

.pf-form__submit:hover { filter: brightness(1.1); }

.pf-form__success {
  display: none;
  background: #f0fdf4;
  border: 1px solid rgba(21, 128, 61, 0.2);
  border-radius: 8px;
  padding: 14px 18px;
  color: #15803d;
  font-size: 14px;
  margin-top: 16px;
}

.pf-form__success.visible { display: block; }

@media (max-width: 900px) {
  .pf-contact__split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pf-contact__info-side { order: -1; }
}

@media (max-width: 576px) {
  .pf-form__row { grid-template-columns: 1fr; }
  .pf-contact { padding: 60px 0; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.pf-404 {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pf-bg-surface);
  padding: 80px 24px;
  text-align: center;
}

.pf-404__inner {
  max-width: 560px;
  margin: 0 auto;
}

.pf-404__code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: var(--pf-accent);
  opacity: 0.12;
  font-family: var(--pf-font-display);
  display: block;
  margin-bottom: -24px;
  letter-spacing: -8px;
}

.pf-404__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--pf-text-primary);
  margin-bottom: 16px;
  font-family: var(--pf-font-display);
}

.pf-404__body {
  font-size: 17px;
  color: var(--pf-text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.pf-404__body a {
  color: var(--pf-accent);
  text-decoration: underline;
}

.pf-404__cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   AUTH PAGES — Pattern A subfolder (login/)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: #0f172a;
  display: flex;
  align-items: stretch;
}

/* C-split-visual: left form / right visual */
.auth-split {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.auth-form-side {
  flex: 0 0 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: #0f172a;
  position: relative;
  z-index: 1;
}

.auth-visual-side {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #0ea5e9 60%, #4f46e5 100%);
}

.auth-visual-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(79, 70, 229, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(14, 165, 233, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 20%, rgba(129, 140, 248, 0.35) 0%, transparent 50%);
}

.auth-visual-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.auth-visual-headline {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

.auth-visual-body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.auth-visual-dots {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.auth-visual-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.auth-visual-dot i {
  font-size: 15px;
  color: #a5b4fc;
}

/* Logo bar at top-left of page */
.auth-logo-bar {
  position: absolute;
  top: 32px;
  left: 56px;
  z-index: 10;
}

.auth-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.auth-logo-link img {
  height: 26px;
  width: auto;
}

/* Auth card */
.auth-card {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.auth-card__title {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

.auth-card__subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 32px;
  line-height: 1.5;
}

.auth-form { }

.auth-form__group {
  margin-bottom: 16px;
}

.auth-form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.auth-form__input,
.auth-form__select {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  color: #f1f5f9;
  background: #1e293b;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.auth-form__input:focus,
.auth-form__select:focus {
  border-color: var(--pf-accent, #4f46e5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.auth-form__input::placeholder { color: #475569; }

.auth-form__select option { background: #1e293b; color: #f1f5f9; }

.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-form__extras {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-form__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
}

.auth-form__remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #4f46e5;
  cursor: pointer;
}

.auth-form__forgot {
  font-size: 13px;
  color: #818cf8;
  text-decoration: none;
  font-weight: 500;
}
.auth-form__forgot:hover { color: #a5b4fc; text-decoration: underline; }

.auth-form__btn {
  width: 100%;
  padding: 13px;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  transition: filter 0.2s;
}
.auth-form__btn:hover { filter: brightness(1.12); }

.auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #94a3b8;
}

.auth-links a {
  color: #818cf8;
  text-decoration: none;
  font-weight: 500;
}
.auth-links a:hover { color: #a5b4fc; text-decoration: underline; }

.auth-message {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.auth-message.success {
  background: rgba(21, 128, 61, 0.15);
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.2);
}

.auth-message.error {
  background: rgba(185, 28, 28, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(252, 165, 165, 0.2);
}

.auth-terms {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 14px;
  text-align: center;
}

.auth-terms a {
  color: #818cf8;
  text-decoration: none;
}
.auth-terms a:hover { text-decoration: underline; }

/* Dashboard */
.auth-dashboard {
  display: flex;
  min-height: 100vh;
  background: #0f172a;
}

.auth-sidebar {
  width: 240px;
  background: #0a0f1e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding: 28px 0 20px;
  flex-shrink: 0;
}

.auth-sidebar__logo {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.auth-sidebar__logo-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #f1f5f9;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-sidebar__nav {
  list-style: none;
  padding: 0 12px;
  margin: 0;
  flex: 1;
}

.auth-sidebar__nav li { margin-bottom: 2px; }

.auth-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.auth-sidebar__link:hover,
.auth-sidebar__link.active {
  background: rgba(79, 70, 229, 0.15);
  color: #a5b4fc;
  opacity: 1;
}

.auth-sidebar__link i { font-size: 15px; width: 18px; text-align: center; }

.auth-sidebar__footer {
  padding: 16px 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-main {
  flex: 1;
  overflow-y: auto;
  padding: 40px 48px;
}

.auth-main__header {
  margin-bottom: 36px;
}

.auth-main__welcome {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

.auth-main__date {
  font-size: 14px;
  color: #64748b;
}

.auth-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.auth-stat-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 22px 20px;
}

.auth-stat-card__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 10px;
}

.auth-stat-card__value {
  font-size: 30px;
  font-weight: 800;
  color: #f1f5f9;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  margin-bottom: 4px;
}

.auth-stat-card__sub {
  font-size: 13px;
  color: #475569;
}

.auth-activity {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 24px 24px;
}

.auth-activity__title {
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
}

.auth-activity__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-activity__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.auth-activity__item:last-child { border-bottom: none; }

.auth-activity__icon {
  width: 32px;
  height: 32px;
  background: rgba(79, 70, 229, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-activity__text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
  flex: 1;
}

.auth-activity__time {
  font-size: 12px;
  color: #475569;
  white-space: nowrap;
}

/* Verify / static pages */
.auth-static {
  min-height: 100vh;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-static__card {
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.auth-static__icon {
  width: 64px;
  height: 64px;
  background: rgba(79, 70, 229, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #818cf8;
  font-size: 28px;
}

.auth-static__title {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

.auth-static__body {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-back-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  color: #818cf8;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.auth-back-bar:hover { color: #a5b4fc; text-decoration: underline; }

/* Auth mini-footer */
.auth-mini-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-mini-footer a {
  font-size: 12px;
  color: #475569;
  text-decoration: none;
}
.auth-mini-footer a:hover { color: #94a3b8; }

/* Auth responsive */
@media (max-width: 900px) {
  .auth-split {
    flex-direction: column;
  }
  .auth-form-side {
    flex: none;
    padding: 40px 32px;
    width: 100%;
    min-height: 100vh;
  }
  .auth-visual-side {
    display: none;
  }
  .auth-logo-bar {
    left: 32px;
  }
  .auth-dashboard {
    flex-direction: column;
  }
  .auth-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .auth-sidebar__logo { padding: 0; border: none; margin: 0 auto 0 0; }
  .auth-sidebar__nav { display: flex; gap: 4px; flex: none; padding: 0; }
  .auth-sidebar__footer { display: none; }
  .auth-main { padding: 28px 20px; }
  .auth-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .auth-form-side { padding: 32px 20px; }
  .auth-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .auth-main { padding: 20px 16px; }
  .auth-form__row { grid-template-columns: 1fr; }
}
