/* About page redesign */

.page-hero {
  position: relative; overflow: hidden;
  padding: 5rem 0 3.75rem;
  border-bottom: 1px solid rgba(0,212,255,.12);
  background:
    radial-gradient(90% 140% at 85% 0%, rgba(0,212,255,.16), transparent 60%),
    linear-gradient(180deg, #0a131a, var(--bg-base));
}
.page-hero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.7), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-eyebrow {
  display: inline-block; margin-bottom: 1rem;
  padding: .3rem .85rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(0,212,255,.28); background: rgba(0,212,255,.06);
}
.page-hero .page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .page-subtitle { max-width: 600px; font-size: 1.08rem; line-height: 1.7; color: var(--text-secondary); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 999px; font-size: .8rem; color: var(--text-secondary);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.hero-chip::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}

/* Mission */
.section-about { padding: 4.5rem 0; }
.about-grid { gap: 3.5rem; }
.about-text h2 { font-size: 2.1rem; }
.about-text p { font-size: 1.02rem; line-height: 1.85; }
.about-text .btn {
  padding: .9rem 1.8rem; border-radius: 12px; font-weight: 700;
  box-shadow: 0 10px 28px -10px rgba(0,212,255,.55);
  transition: transform .18s ease, box-shadow .18s ease;
}
.about-text .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(0,212,255,.65); }
.about-terminal {
  position: relative; overflow: hidden; border-radius: 18px;
  background: linear-gradient(180deg, #0b1218, #070c11);
  border: 1px solid rgba(0,212,255,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 60px -14px rgba(0,212,255,.3);
}
.about-terminal::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.7), transparent);
}

/* Section headers */
.section-values, .section-team, .section-blog { padding: 4.5rem 0; }
.section-header .section-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; }
.section-header .section-subtitle { margin-top: .6rem; color: var(--text-secondary); }
.section-header.center { margin-bottom: 2.75rem; }

/* Shared card look */
.value-card.card, .team-card.card, .ab-post {
  position: relative; overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19,27,36,.55), rgba(13,17,23,.95));
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.value-card.card::before, .team-card.card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.55), transparent);
}
.value-card.card:hover, .team-card.card:hover, .ab-post:hover {
  transform: translateY(-5px);
  border-color: rgba(0,212,255,.4);
  box-shadow: 0 20px 48px rgba(0,0,0,.45), 0 12px 38px -14px rgba(0,212,255,.45);
}

/* Values */
.value-card.card { padding: 2rem 1.6rem; }
.value-icon {
  width: 60px; height: 60px; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px; color: var(--accent);
  background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.28);
  box-shadow: 0 0 22px rgba(0,212,255,.15);
  transition: box-shadow .22s ease, background .22s ease;
}
.value-icon svg { width: 27px; height: 27px; display: block; }
.value-card:hover .value-icon { background: rgba(0,212,255,.18); box-shadow: 0 0 30px rgba(0,212,255,.35); }
.value-card h3 { font-size: 1.1rem; color: #fff; }
.value-card p { line-height: 1.7; }

/* Team */
.team-card.card { padding: 2.25rem 1.75rem 1.9rem; }
.team-avatar {
  width: 88px; height: 88px; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.35rem;
  font-family: var(--font-mono); font-weight: 800; letter-spacing: .04em;
  color: #8ecfdc;
  background: linear-gradient(145deg, #1a2a33, #0e181e);
  border: 2px solid rgba(142,207,220,.35);
  box-shadow: 0 0 0 5px rgba(142,207,220,.06), 0 12px 28px rgba(0,0,0,.45);
}
.team-name { font-size: 1.12rem; color: #fff; letter-spacing: .02em; }
.team-role {
  display: inline-block; margin: .4rem 0 .9rem; padding: .25rem .8rem; border-radius: 999px;
  background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.25);
}
.team-card .team-bio { line-height: 1.7; }
.team-social { gap: .6rem; margin-top: 1.4rem; }
.team-social a {
  width: 40px; height: 40px; padding: 0; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
}
.team-social a svg { width: 17px; height: 17px; display: block; }
.team-social a:hover { transform: translateY(-3px); background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.45); }

/* Blog cards (real posts) */
.ab-post {
  display: flex; flex-direction: column; text-decoration: none; text-align: left;
}
.ab-thumb { aspect-ratio: 16 / 9; background: #0a1218; overflow: hidden; }
.ab-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ab-post:hover .ab-thumb img { transform: scale(1.05); }
.ab-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.ab-date { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--text-muted); }
.ab-body h3 {
  margin: 0; font-size: 1.08rem; line-height: 1.4; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ab-body p {
  margin: 0; font-size: .88rem; line-height: 1.65; color: var(--text-secondary);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ab-more { margin-top: auto; padding-top: .5rem; color: var(--accent); font-weight: 700; font-size: .85rem; }

@media (max-width: 960px) {
  .about-grid { gap: 2.5rem; }
  .page-hero { padding: 3.25rem 0 2.5rem; }
}

/* ═══ HERO MOBILE FIX ═══ */
@media (max-width: 768px) {
  .page-hero { padding-top: calc(var(--navbar-h, 72px) + 2rem); }
  body.has-notifications .page-hero { padding-top: calc(var(--navbar-h, 72px) + 5rem); }
}
@media (max-width: 560px) {
  .page-hero .page-title {
    font-size: min(2.2rem, calc((100vw - 2.5rem) / 13.6));
    line-height: 1.15;
  }
}

/* Hero: compact, clears the menu bar, same glow, grid and edge as the Courses page */
.page-hero {
  padding: calc(var(--navbar-h, 72px) + 1.5rem) 0 1.6rem;
  background:
    linear-gradient(180deg, rgba(0,212,255,0.07) 0%, rgba(0,212,255,0.02) 50%, transparent 100%),
    radial-gradient(ellipse at 60% 0%, rgba(0,212,255,0.08) 0%, transparent 55%);
  border-bottom: 1px solid rgba(0,212,255,0.1);
}
.page-hero::before {
  inset: 0;
  height: auto;
  background-image:
    linear-gradient(rgba(0,212,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 100%);
          mask-image: linear-gradient(180deg, black 0%, transparent 100%);
}
.page-eyebrow { margin-bottom: .6rem; padding: .22rem .7rem; font-size: .64rem; }
.page-hero .page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; margin: 0 0 .4rem; }
.page-hero .page-subtitle { font-size: .98rem; line-height: 1.6; margin: 0; }
.hero-chips { margin-top: .9rem; gap: .5rem; }
.hero-chip { padding: .28rem .75rem; font-size: .76rem; }
@media (max-width: 768px) {
  .page-hero { padding-top: calc(var(--navbar-h, 72px) + 1.25rem); }
  body.has-notifications .page-hero { padding-top: calc(var(--navbar-h, 72px) + 4rem); }
}
