/* ============================================
   Bonut Labs — About Page Styles
   ============================================ */

/* ── Page hero ── */
.page-hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, var(--bg-darker) 0%, #2d1b4e 50%, var(--bg-darker) 100%);
  background-size: 300% 300%;
  animation: heroShift 16s ease infinite;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(189,147,249,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189,147,249,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
@keyframes heroShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-eyebrow {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--purple);
  margin-bottom: .75rem;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .6em;
}
.page-hero-title .accent {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-sub {
  font-size: 1.15rem;
  color: var(--comment);
  max-width: 560px;
}

/* ── Section ── */
.about-section {
  padding: 5rem 0;
}
.about-section:nth-child(even) {
  background: var(--bg-darker);
}

/* ── Hardware bento grid ── */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.hw-card {
  background: var(--current);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.hw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.hw-card.purple::before { background: var(--purple); }
.hw-card.cyan::before   { background: var(--cyan); }
.hw-card.pink::before   { background: var(--pink); }
.hw-card:hover {
  transform: translateY(-4px);
  border-color: var(--comment);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.hw-card.purple:hover { border-color: rgba(189,147,249,.4); box-shadow: 0 12px 40px rgba(189,147,249,.15); }
.hw-card.cyan:hover   { border-color: rgba(139,233,253,.4); box-shadow: 0 12px 40px rgba(139,233,253,.15); }
.hw-card.pink:hover   { border-color: rgba(255,121,198,.4); box-shadow: 0 12px 40px rgba(255,121,198,.15); }

.hw-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hw-icon {
  font-size: 2.2rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.hw-icon img[alt="macOS"],
.hw-icon img[alt="Raspberry Pi"] {
  width: 28px;
  height: 28px;
}
.hw-icon img[alt="macOS"] {
  filter: brightness(0) invert(1);
}
.hw-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .15rem;
}
.hw-card-header .hw-os {
  font-size: .82rem;
  color: var(--comment);
}
.hw-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.hw-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  padding: .4rem .6rem;
  background: rgba(0,0,0,.15);
  border-radius: var(--radius-sm);
}
[data-theme="light"] .hw-specs li {
  background: rgba(0,0,0,.05);
}
.hw-specs li .label {
  color: var(--comment);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hw-specs li .value {
  font-weight: 500;
  color: var(--fg);
  text-align: right;
}

/* ── Network / Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.service-chip {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--current);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
}
.service-chip:hover {
  transform: translateY(-2px);
}
.service-chip.green:hover  { border-color: var(--green);  box-shadow: 0 6px 20px rgba(80,250,123,.15); }
.service-chip.cyan:hover   { border-color: var(--cyan);   box-shadow: 0 6px 20px rgba(139,233,253,.15); }
.service-chip.purple:hover { border-color: var(--purple); box-shadow: 0 6px 20px rgba(189,147,249,.15); }
.service-chip.pink:hover   { border-color: var(--pink);   box-shadow: 0 6px 20px rgba(255,121,198,.15); }
.service-chip.orange:hover { border-color: var(--orange); box-shadow: 0 6px 20px rgba(255,184,108,.15); }
.service-chip img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.service-chip-info .name {
  font-weight: 500;
  font-size: .9rem;
  color: var(--fg);
}
.service-chip-info .role {
  font-size: .78rem;
  color: var(--comment);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hardware-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}
