/* GLASS PANEL utility — used across the About page's hero + diagram */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ABOUT HERO */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse 900px 480px at 20% -10%, rgba(240, 185, 11, 0.1), transparent 60%),
    radial-gradient(ellipse 800px 480px at 100% 10%, rgba(53, 208, 194, 0.08), transparent 60%);
}

.about-hero-bg-icon {
  position: absolute;
  color: var(--text-primary);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  animation: float-drift 10s ease-in-out infinite;
}
[data-theme="light"] .about-hero-bg-icon { opacity: 0.06; }
.about-hero-bg-icon.i1 { top: 6%;  left: 6%;  font-size: 5rem; animation-delay: 0s; }
.about-hero-bg-icon.i2 { top: 62%; left: 12%; font-size: 3.2rem; color: var(--accent-cyan); opacity: 0.08; animation-delay: 1.2s; }
.about-hero-bg-icon.i3 { top: 14%; right: 8%; font-size: 4rem; color: var(--accent-gold); opacity: 0.09; animation-delay: 0.6s; }
.about-hero-bg-icon.i4 { top: 68%; right: 14%; font-size: 3.6rem; animation-delay: 1.8s; }
.about-hero-bg-icon.i5 { top: 38%; left: 46%; font-size: 2.6rem; color: var(--up); opacity: 0.07; animation-delay: 2.4s; }

@keyframes float-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, -18px) rotate(6deg); }
}

.about-hero-content { position: relative; z-index: 1; }

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-cyan);
  color: white;
  border: 1px solid rgba(240, 185, 11, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  margin: 1rem 0 0.9rem;
}
.about-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-orbit-panel {
  position: relative;
  z-index: 1;
  margin: 2.75rem auto 0;
  max-width: 560px;
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-orbit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
}
.hero-orbit-item i {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

/* SECTION SCAFFOLDING */
.about-section { padding: 3.25rem 0; }
.about-section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.about-section-lede {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 680px;
  margin-bottom: 2rem;
}
.section-icon-tag {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan);
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

/* TECH / API ICON CARDS */
.tech-group-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.tech-card, .api-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tech-card:hover, .api-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}
.tech-icon-circle {
  width: 46px; height: 46px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  color: var(--accent-cyan);
}
.tech-card .tech-name {
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--text-primary);
}
.api-card .tech-icon-circle { color: var(--accent-cyan); }
.api-card .tech-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.3;
}

/* FEATURE CARDS */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-gold);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-dim);
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature-title { font-weight: 600; font-size: 0.98rem; margin-bottom: 0.35rem; color: var(--text-primary); }
.feature-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0; }

/* ARCHITECTURE FLOW DIAGRAM */
.arch-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 460px;
  margin: 0 auto;
}
.arch-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.arch-node:hover { transform: translateX(4px); border-color: var(--accent-gold); }
.arch-node-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  color: var(--accent-gold);
  font-size: 1.15rem;
}
.arch-node-title { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.arch-node-desc { font-size: 0.8rem; color: var(--text-muted); }
.arch-connector {
  display: flex;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.3rem;
  padding: 0.15rem 0;
}

/* ROADMAP TIMELINE */
.roadmap-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 2.25rem;
}
.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--accent-cyan), var(--border) 90%);
}
.roadmap-item {
  position: relative;
  padding-bottom: 1.75rem;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-dot {
  position: absolute;
  left: -2.25rem;
  top: 0.2rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--accent-cyan);
}
.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.roadmap-card:hover { transform: translateX(3px); border-color: var(--border-strong); }
.roadmap-title { font-weight: 600; font-size: 0.92rem; color: var(--text-primary); margin-bottom: 0.2rem; }
.roadmap-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0; }
.roadmap-status {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  background: var(--surface-alt);
  color: var(--text-muted);
  white-space: nowrap;
}

/* CREDITS */
.credits-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.credits-card .bi-hexagon-fill { color: var(--accent-gold); font-size: 1.6rem; }


@media (max-width: 767.98px) {
  .about-hero { padding: 3rem 0 2.5rem; }
  .about-section { padding: 2.25rem 0; }
  .about-hero-bg-icon { display: none; }
}