/* ============================================
   REDESIGN STYLES — appended after styles.css
   ============================================ */

/* ---- STATUS BADGES ---- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}
.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-badge.complete {
  background: rgba(34,211,165,0.12);
  color: #22d3a5;
  border: 1px solid rgba(34,211,165,0.25);
}
.status-badge.complete::before { background: #22d3a5; }
.status-badge.wip {
  background: rgba(245,200,66,0.12);
  color: #f5c842;
  border: 1px solid rgba(245,200,66,0.3);
}
.status-badge.wip::before { background: #f5c842; }

/* ---- NAVBAR REDESIGN ---- */
.navbar.nav-modern {
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  opacity: 1 !important;
  transform: none !important;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
}
.nav-logo .name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s ease;
}
.nav-link:hover { color: #fff; }
.nav-cta-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 0.83rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}
.nav-cta-btn:hover { background: #0052a3; }

/* ---- HERO REDESIGN ---- */
.hero {
  padding: 140px 0 80px;
  min-height: auto;
  background: var(--bg-primary);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 22px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent-color);
  flex-shrink: 0;
}
.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3a5;
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 32px;
  opacity: 1 !important;
  transform: none !important;
}
.hero-title .hero-name {
  display: block;
  color: #fff !important;
  font-size: inherit !important;
  font-weight: 700;
  text-align: left;
  opacity: 1 !important;
  transform: none !important;
}
.hero-title .hero-subtitle-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
  font-size: inherit;
}
.hero-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  margin-bottom: 32px;
  max-width: 860px;
}
.hero-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 440px;
  font-family: 'Inter', sans-serif;
  opacity: 1 !important;
  transform: none !important;
}
.hero-bio strong { color: #e8eaf6; font-weight: 500; }
.hero-stats-row {
  display: flex;
  gap: 36px;
  flex-shrink: 0;
  padding-top: 4px;
}
.hero-stat-item {}
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat-num .unit { font-size: 1rem; color: var(--accent-color); font-weight: 600; }
.hero-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
}
.hero-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 13px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.hero-tag.tag-green {
  background: rgba(34,211,165,0.08);
  border-color: rgba(34,211,165,0.22);
  color: #22d3a5;
}
.hero-tag.tag-orange {
  background: rgba(255,107,53,0.08);
  border-color: rgba(255,107,53,0.22);
  color: var(--accent-color);
}
/* Hide old hero elements that are replaced */
.hero .greeting,
.hero-description,
.hero-buttons,
.scroll-indicator,
.particle-controls,
.hero-background,
#loading-slate {
  display: none !important;
}

/* ---- SECTION LAYOUT ---- */
.redesign-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 2rem 48px;
}
.redesign-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.redesign-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
}
.redesign-section-link {
  font-size: 0.78rem;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.redesign-section-link:hover { text-decoration: underline; }

/* ---- FEATURED CARDS ---- */
.featured-project-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.featured-project-card:hover { border-color: rgba(255,255,255,0.12); }
.featured-project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.featured-project-card.fp-green::before { background: linear-gradient(90deg, #22d3a5, var(--secondary-color)); }
.featured-project-card.fp-blue::before { background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); }
.fp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.fp-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.fp-subtitle {
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  margin-bottom: 8px;
}
.fp-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
  max-width: 580px;
}
.fp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.fp-tag {
  font-size: 0.7rem;
  color: var(--secondary-color);
  background: rgba(0,166,251,0.1);
  border: 1px solid rgba(0,166,251,0.18);
  border-radius: 5px;
  padding: 3px 10px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.fp-arrow { color: var(--text-muted); font-size: 1.1rem; }

/* ---- PROJECT GRID (2-col) ---- */
.project-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.project-card-new {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-decoration: none;
}
.project-card-new:hover { border-color: rgba(255,255,255,0.1); }
.project-card-new::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.project-card-new.pc-yellow::before { background: linear-gradient(90deg, #f5c842, #ff9e6b); }
.project-card-new.pc-orange::before { background: linear-gradient(90deg, var(--accent-color), #ff9e6b); }
.pc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pc-num {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0.7;
}
.pc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
  line-height: 1.3;
}
.pc-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
}
.pc-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.pc-tag {
  font-size: 0.67rem;
  color: var(--primary-color);
  background: rgba(0,102,204,0.1);
  border: 1px solid rgba(0,102,204,0.15);
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* ---- MINI TOOLS SECTION ---- */
.mini-tools-section {
  padding: 0 2rem 52px;
  max-width: 1200px;
  margin: 0 auto;
}
.mini-tools-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
  line-height: 1.6;
}
.mini-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mini-tool-chip {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.mini-tool-chip:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.mini-tool-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: #e8eaf6;
  margin-bottom: 3px;
  font-family: 'Space Grotesk', sans-serif;
}
.mini-tool-tech {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

/* ---- SECTION DIVIDER ---- */
.section-rule {
  height: 1px;
  background: rgba(255,255,255,0.04);
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 0 2rem;
}
.section-rule-inner {
  height: 1px;
  background: rgba(255,255,255,0.04);
}

/* ---- SKILLS & LEARNING ---- */
.skills-learning-section {
  padding: 48px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.skills-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.skills-box {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 22px 24px;
}
.skills-box-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 16px;
}
.skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.skill-row:last-child { border-bottom: none; }
.skill-row-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #e8eaf6;
  font-family: 'Space Grotesk', sans-serif;
}
.skill-row-source {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}
.learning-box {
  background: rgba(255,107,53,0.04);
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: 12px;
  padding: 22px 24px;
}
.learning-box-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 16px;
}
.learn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,107,53,0.08);
}
.learn-row:last-child { border-bottom: none; }
.learn-row-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e8eaf6;
  font-family: 'Space Grotesk', sans-serif;
}
.learn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
}
.learn-row-source {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

/* ---- GITHUB STRIP ---- */
.github-strip {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 2rem;
}
.github-strip-inner {
  background: rgba(0,102,204,0.08);
  border: 1px solid rgba(0,102,204,0.2);
  border-radius: 12px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.github-strip-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}
.github-strip-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-family: 'Inter', sans-serif;
}
.github-strip-btn {
  background: #fff;
  color: #0a0e27;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 0.83rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease;
}
.github-strip-btn:hover { opacity: 0.9; }

/* ---- FIX: is-visible for all animated elements ---- */
.project-card.is-visible,
.skill-card.is-visible,
.achievement-card.is-visible,
.interest-card.is-visible,
.tool-item.is-visible,
.section-title.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ---- FIX: remove buttonGlow loop ---- */
.btn-primary:hover {
  animation: none !important;
  background: var(--primary-dark, #004499) !important;
  box-shadow: 0 4px 16px rgba(0,102,204,0.3) !important;
}

/* ---- FIX: interest card hover ---- */
.interest-card:hover {
  transform: translateY(-4px) !important;
}

/* ---- SECTION WRAPPERS ---- */
/* Wrap the new projects + mini tools in a full-width bg section */
.redesign-projects-wrapper {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ---- LARGE SCREEN ALIGNMENT ---- */
/* All new content uses a consistent 1200px max-width container.
   On screens wider than 1200px, content is centered with equal margins.
   The hero, projects, mini-tools, skills, and github strip
   all follow the same padding: 0 2rem pattern inside their containers. */
.hero-content,
.redesign-section,
.mini-tools-section,
.skills-learning-section,
.github-strip {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-meta-row { flex-direction: column; gap: 24px; max-width: 100%; }
  .hero-stats-row { gap: 24px; }
  .project-grid-2col { grid-template-columns: 1fr; }
  .mini-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-two-col { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .featured-project-card { grid-template-columns: 1fr; }
  .github-strip-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .mini-tools-grid { grid-template-columns: 1fr; }
  .hero-stats-row { gap: 20px; }
}
