/* ── Product Cards ─────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--card-grad);
  box-shadow: 0 2px 8px rgba(74, 63, 53, 0.08), 0 12px 32px rgba(74, 63, 53, 0.08);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(74, 63, 53, 0.14), 0 28px 56px rgba(74, 63, 53, 0.13);
  transform: scale(1.03);
}

.product-card-collapsed { display: none; }

/* ── Card content — always visible ─────────────────── */
.product-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Card body (expanded content area) ────────────── */
.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 28px 28px;
  background: var(--card-grad);
}

.product-card-body .product-cta {
  margin-top: 18px;
}


/* ── Product icon ──────────────────────────────────── */
.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(45, 106, 94, 0.09);
  color: var(--color-petrol);
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* ── Product UI screenshot ─────────────────────────── */
.product-ui-screenshot {
  display: block;
  width: 100%;
  height: 280px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top;
}
/* ── Product UI placeholder mockup ─────────────────── */
.product-ui-placeholder {
  width: 100%;
  background: var(--bg);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.pui-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.pui-topbar span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
}

.pui-body {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pui-row {
  display: flex;
  gap: 8px;
}

.pui-block {
  flex: 1;
  height: 10px;
  border-radius: 3px;
  background: var(--border-strong);
  opacity: 0.5;
}

.pui-block.tall {
  height: 36px;
  opacity: 0.35;
}

.pui-block.short { flex: 0 0 35%; }

/* ── Product UI inline mock (Client-Communication) ──── */
.product-ui-mock {
  width: 100%;
  flex-shrink: 0;
  height: 340px;
  background: #141414;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mock-toolbar-label {
  color: #e8e4d9;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mock-toolbar-case {
  color: rgba(255,255,255,0.35);
  font-size: 10px;
}

.mock-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mock-meta-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.mock-meta-tag {
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  width: 18px;
  flex-shrink: 0;
}

.mock-meta-value {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
}

.mock-highlight-green {
  color: #7ecba1;
}

.mock-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 6px 0;
}

.mock-text-line {
  height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
}

.mock-line-full   { width: 100%; }
.mock-line-three-quarter { width: 74%; }
.mock-line-half   { width: 52%; }

.mock-spacer { height: 6px; }

.mock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.mock-status {
  color: rgba(255,255,255,0.3);
  font-size: 10px;
}

.mock-send-btn {
  background: #d4c97a;
  color: #141414;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* ── Product card header ────────────────────────────── */
.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: 14px;
}

.product-name {
  font-size: 1.6rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

/* Badge base */
.badge {
  flex-shrink: 0;
  font-size: 0.575rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--color-terracotta);
  color: #fff;
  border: none;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 4px;
}

/* Subtle outline badge */
.badge--subtle {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(74, 63, 53, 0.18);
}

.product-desc {
  font-size: 0.9rem;
  line-height: 1.78;
  flex: 1;
  color: var(--text-muted);
}

/* ── Team Cards ────────────────────────────────────── */
.team-card {
  background: linear-gradient(155deg, #EDE8DC 0%, #E1D6C4 100%);
  border: none;
  box-shadow: 0 1px 3px rgba(74, 63, 53, 0.07), 0 8px 24px rgba(74, 63, 53, 0.07);
  border-radius: var(--r-lg);
  padding: 36px 28px 32px;
  transition: background var(--ease), box-shadow var(--ease);
  position: relative;
  z-index: 1;
}

.team-card:hover {
  background: linear-gradient(155deg, #E7E0D2 0%, #D9CEBC 100%);
  box-shadow: 0 2px 6px rgba(74, 63, 53, 0.09), 0 16px 40px rgba(74, 63, 53, 0.09);
  border-color: transparent;
}

/* Full-card LinkedIn link overlay */
.team-card-link {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  z-index: 2;
}

/* LinkedIn badge — top-right corner */
.team-linkedin-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  color: var(--color-petrol);
  opacity: 0.45;
  transition: opacity var(--ease);
  z-index: 1;
}
.team-card:hover .team-linkedin-icon { opacity: 0.8; }

/* Avatar */
.team-avatar {
  width: 105px;
  height: 105px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 20px;
  flex-shrink: 0;
  display: block;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(74, 63, 53, 0.18);
}

.team-name {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 5px;
  text-align: center;
}

.team-role {
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  color: var(--color-petrol);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  text-align: center;
}

/* Bio */
.team-bio {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

/* Experience bullets */
.team-exp {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.team-exp li {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  padding-left: 14px;
  position: relative;
}

.team-exp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-petrol);
  opacity: 0.4;
}

/* ── Product card CTA — filled petrol pill button ──── */
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 11px 24px;
  border: none;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  color: #fff;
  background: var(--color-petrol);
  letter-spacing: -0.01em;
  align-self: flex-start;
  text-decoration: none;
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}

.product-cta svg {
  transition: transform var(--ease);
}

/* product-cta hover */
.product-cta:hover {
  background: #235249;
  box-shadow: 0 4px 16px rgba(45, 106, 94, 0.28);
  transform: translateY(-1px);
}

.product-cta:hover svg {
  transform: translateX(3px);
}
