/* ============================================================
   ACTIVISIONVR — UI Components
   Reusable component styles: navbar, footer, buttons, cards, etc.
   ============================================================ */

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-slow);
  background: transparent;
}

.navbar.scrolled {
  height: var(--navbar-height-scrolled);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img,
.navbar-logo svg {
  height: 36px;
  width: auto;
}

.navbar-logo-text {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

.navbar-logo-text span {
  color: var(--primary);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: var(--primary);
}

/* Mega Menu */
.nav-item-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 600px;
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mega-menu-item:hover {
  background: var(--bg-elevated);
}

.mega-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.mega-menu-item h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mega-menu-item p {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: var(--leading-snug);
}

/* Dropdown Arrow */
.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link-dropdown::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-link-dropdown::after {
  transform: rotate(180deg);
}

/* Nav CTA Button */
.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: calc(var(--z-navbar) + 2);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 400px);
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  padding: calc(var(--navbar-height) + var(--space-8)) var(--space-6) var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  z-index: calc(var(--z-navbar) + 1);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-navbar);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-submenu {
  padding-left: var(--space-4);
}

.mobile-submenu a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-submenu a:hover {
  color: var(--primary);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 0 var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: var(--text-primary);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
  color: var(--primary);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

/* Icon Button */
.btn-icon {
  padding: var(--space-3);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

/* Button with arrow */
.btn .btn-arrow {
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ================================================================
   CARDS
   ================================================================ */

/* Glass Card */
.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card-glass:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Solid Card */
.card-solid {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card-solid:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Elevated Card */
.card-elevated {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card-elevated:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* Feature Card — with icon and description */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.feature-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card-icon {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.feature-card h3,
.feature-card h4 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* Project Card */
.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  text-decoration: none;
  display: block;
  position: relative;
}

.project-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.project-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.project-card-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-surface), transparent);
}

.project-card-body {
  padding: var(--space-6);
  padding-top: var(--space-3);
}

.project-card-tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.project-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.project-card p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-arrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--primary);
}

.project-card-arrow span {
  transition: transform var(--transition-base);
}

.project-card:hover .project-card-arrow span {
  transform: translateX(6px);
}

/* Stat Card */
.stat-card {
  text-align: center;
  padding: var(--space-6);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
}

.stat-suffix {
  font-size: var(--text-2xl);
  color: var(--primary-light);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}

.stat-sublabel {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

/* Team Card */
.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.team-card-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: white;
  margin: 0 auto var(--space-5);
  border: 3px solid var(--primary-glow);
}

.team-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.team-card .team-role {
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-4);
}

.team-card p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
}

/* Partner Card */
.partner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.partner-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.partner-card-number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--primary);
  font-family: var(--font-mono);
  margin-bottom: var(--space-4);
  opacity: 0.3;
}

.partner-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.partner-card .partner-subtitle {
  font-size: var(--text-base);
  color: var(--primary);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-4);
}

.partner-card p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
}

.partner-card ul {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.partner-card ul li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.partner-card ul li::before {
  content: '→';
  color: var(--primary);
  font-weight: var(--weight-bold);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-behind);
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-bg-glow.primary {
  background: var(--primary);
  top: -20%;
  right: -10%;
  opacity: 0.15;
}

.hero-bg-glow.blue {
  background: var(--accent-blue);
  bottom: -20%;
  left: -10%;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--primary-subtle);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-6);
}

.hero h1 {
  margin-bottom: var(--space-6);
}

.hero p {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Page-level Hero (smaller, for subpages) */
.hero-page {
  min-height: auto;
  padding-top: calc(var(--navbar-height) + var(--space-20));
  padding-bottom: var(--space-16);
}

.hero-page h1 {
  font-size: var(--text-5xl);
}

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.5;
}

.cta-section h2 {
  position: relative;
  margin-bottom: var(--space-4);
}

.cta-section p {
  position: relative;
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ================================================================
   TECH STACK BADGES
   ================================================================ */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.tech-badge:hover {
  border-color: var(--border-primary);
  color: var(--primary);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ================================================================
   TIMELINE
   ================================================================ */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent-blue), var(--primary));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.timeline-date {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.timeline-item h4 {
  margin-bottom: var(--space-2);
}

.timeline-item p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ================================================================
   FORM ELEMENTS
   ================================================================ */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--accent-rose);
  margin-top: var(--space-1);
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: var(--accent-rose);
}

.form-group.error .form-error {
  display: block;
}

/* ================================================================
   BREADCRUMBS
   ================================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.breadcrumbs a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .separator {
  color: var(--text-muted);
}

.breadcrumbs .current {
  color: var(--text-secondary);
}

/* ================================================================
   METRIC DISPLAY (for project pages)
   ================================================================ */
.metric-display {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.metric-item {
  flex: 1;
  min-width: 180px;
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.metric-item:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-glow);
}

.metric-value {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--primary);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ================================================================
   INFO BOX / CALLOUT
   ================================================================ */
.info-box {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-lg);
}

.info-box-icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

.info-box h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.info-box p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ================================================================
   TEAM INFOGRAPHIC
   ================================================================ */
.team-infographic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}

.team-dept {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.team-dept:hover {
  border-color: var(--border-primary);
  transform: translateY(-2px);
}

.team-dept-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.team-dept-count {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--primary);
  font-family: var(--font-mono);
  line-height: 1;
}

.team-dept-title {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer-col h5 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-decoration: none;
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ================================================================
   FUND BADGES
   ================================================================ */
.fund-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.fund-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.fund-badge:hover {
  border-color: var(--border-primary);
  color: var(--primary);
}

/* ================================================================
   TOAST / NOTIFICATION
   ================================================================ */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transform: translateY(120%);
  transition: transform var(--transition-spring);
}

.toast.show {
  transform: translateY(0);
}

.toast-success {
  border-color: var(--accent-emerald);
}

.toast-error {
  border-color: var(--accent-rose);
}

/* ================================================================
   PROJECT DETAIL PAGE COMPONENTS
   ================================================================ */
.project-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-2xl);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: var(--space-6);
  border: 1px solid var(--border-primary);
}

.project-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.project-target-audience {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.audience-tag {
  padding: var(--space-2) var(--space-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Problem/Solution Layout */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.problem-box, .solution-box {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
}

.problem-box {
  background: rgba(244, 63, 94, 0.05);
  border-color: rgba(244, 63, 94, 0.15);
}

.solution-box {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.15);
}

.problem-box h3, .solution-box h3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.problem-box ul, .solution-box ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.problem-box li, .solution-box li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.problem-box li::before {
  content: '✕';
  color: var(--accent-rose);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-box li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================================================
   PROJECT CARD IMAGES
   ================================================================ */
.project-card-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  height: 200px;
}

.project-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card-visual img {
  transform: scale(1.08);
}

.project-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--bg-dark) 100%);
  pointer-events: none;
}

.project-card-visual .project-card-icon {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

/* ================================================================
   HERO BACKGROUND IMAGE
   ================================================================ */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.7) 50%, var(--bg-dark) 100%);
}

/* ================================================================
   SECTION FEATURE IMAGES
   ================================================================ */
.section-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-image-glow {
  position: relative;
}

.section-image-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: calc(var(--radius-2xl) + 2px);
  opacity: 0.4;
  filter: blur(20px);
  z-index: -1;
}

/* ================================================================
   PROJECT PAGE HERO IMAGE
   ================================================================ */
.project-hero-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-top: var(--space-8);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-2xl), 0 0 60px rgba(139, 92, 246, 0.15);
  max-height: 400px;
}

.project-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-dark) 0%, transparent 40%);
  pointer-events: none;
}

/* Two Column Layout with Image */
.two-col-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.two-col-image .section-image { height: 350px; }

@media (max-width: 768px) {
  .two-col-image { grid-template-columns: 1fr; gap: var(--space-6); }
  .two-col-image .section-image { height: 250px; }
  .project-card-visual { height: 160px; }
  .project-hero-visual { max-height: 250px; }
}
