/* ============================================================
   DRAGEON LEE — Portfolio CSS
   Theme: Dark Space + Glassmorphism
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-primary:     #ffffff;
  --bg-secondary:   #f8fafc;
  --bg-card:        #f8fafc;
  --bg-card-hover:  #f1f5f9;
  --border-subtle:  rgba(0, 0, 0, 0.08);
  --border-glow:    rgba(99, 102, 241, 0.35);

  --accent-indigo:  #6366f1;
  --accent-cyan:    #0891b2;
  --accent-purple:  #9333ea;
  --accent-grad:    linear-gradient(135deg, #6366f1, #0891b2);
  --accent-grad-2:  linear-gradient(135deg, #9333ea, #6366f1);

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;

  --font-heading:   'Space Grotesk', sans-serif;
  --font-body:      'Inter', sans-serif;

  --radius-card:    16px;
  --radius-tag:     8px;
  --radius-pill:    999px;

  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-glow:    0 8px 40px rgba(99, 102, 241, 0.12);
  --transition:     0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height:     64px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle dot grid background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 1;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-grad);
  border-radius: var(--radius-pill);
}

.nav-links a.nav-external {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a.nav-external::after {
  content: '↗';
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 5rem) 2rem 5rem;
  text-align: center;
}

/* Two-column inner layout */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Photo */
.hero-photo-wrap {
  flex-shrink: 0;
  position: relative;
}

.hero-photo-wrap::before {
  display: none;
}

.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%);
  z-index: 0;
}

.hero-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
}

/* Text side */
.hero-text {
  flex: 1;
}

.hero-text h1 {
  text-align: left;
}

.hero-text .hero-title {
  text-align: left;
}

.hero-text .hero-desc {
  text-align: left;
  margin: 0 0 2rem;
}

.hero-text .hero-cta {
  justify-content: flex-start;
}

/* Ambient glow blobs */
.hero::before,
.hero::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  width: 700px;
  height: 700px;
  background: var(--accent-indigo);
  top: -200px;
  left: -150px;
}
.hero::after {
  width: 600px;
  height: 600px;
  background: var(--accent-cyan);
  bottom: -200px;
  right: -150px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  background: linear-gradient(145deg, #0f172a 30%, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-outline:hover {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* ============================================================
   TAG FILTER
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.08);
}

.filter-btn.active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 16px rgba(99, 102, 241, 0.35);
}

/* ============================================================
   PROJECT CARDS GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: all var(--transition);
  cursor: default;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent-grad));
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(99,102,241,0.1);
}

.project-card.hidden {
  display: none;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-org {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-tag);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Tag color variants */
.tag-llm      { background: rgba(99,102,241,0.15); color: #818cf8; }
.tag-graph    { background: rgba(34,211,238,0.12); color: #22d3ee; }
.tag-multi    { background: rgba(168,85,247,0.15); color: #c084fc; }
.tag-data     { background: rgba(52,211,153,0.12); color: #34d399; }
.tag-material { background: rgba(251,191,36,0.12); color: #fbbf24; }
.tag-vision   { background: rgba(244,114,182,0.15); color: #f472b6; }
.tag-ml       { background: rgba(148,163,184,0.12); color: #94a3b8; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-indigo);
  transition: color var(--transition);
}
.card-link:hover { color: var(--accent-cyan); }

/* ============================================================
   ABOUT PAGE — PROFILE HEADER
   ============================================================ */
.about-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 4rem) 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.profile-photo-wrap {
  flex-shrink: 0;
  position: relative;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 1;
}

.profile-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-grad);
  z-index: 0;
}

.profile-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
  z-index: 0;
}

.about-info h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.about-title {
  font-size: 1rem;
  font-weight: 500;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.about-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
}

.about-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99,102,241,0.3);
  color: var(--text-primary);
}

.social-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0.7);
  display: inline;
}

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-indigo), rgba(99,102,241,0.1));
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent-indigo);
  background: #ffffff;
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: 0.4rem;
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.timeline-org {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-bullets li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.6;
}

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-indigo);
  font-size: 0.7rem;
  top: 0.15rem;
}

/* ============================================================
   EDUCATION
   ============================================================ */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: all var(--transition);
}

.edu-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99,102,241,0.25);
}

.edu-degree {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.edu-school {
  font-size: 0.875rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.edu-period {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.edu-subjects {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-group-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-tag);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.skill-tag:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99,102,241,0.3);
  color: var(--text-primary);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: var(--border-subtle);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
}

footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer a {
  color: var(--accent-indigo);
  transition: color var(--transition);
}

footer a:hover {
  color: var(--accent-cyan);
}

/* ============================================================
   MAIN SECTION TABS (Projects / Experience / Skills)
   ============================================================ */
.content-wrap {
  scroll-margin-top: var(--nav-height);
}

.main-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 2rem 0;
  flex-wrap: wrap;
}

.main-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all var(--transition);
}

.main-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

.main-tab.active {
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 20px rgba(99, 102, 241, 0.4);
}

.main-panel {
  display: none;
}

.main-panel.active {
  display: block;
  animation: panelFadeIn 0.35s ease;
}

/* ============================================================
   PHASE TAB NAVIGATION
   ============================================================ */
.phase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
}

.phase-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.phase-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(99, 102, 241, 0.3);
}

.phase-tab.active {
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 16px rgba(99, 102, 241, 0.35);
}

/* Panels */
.phase-panel {
  display: none;
}

.phase-panel.active {
  display: block;
  animation: panelFadeIn 0.3s ease;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.phase-panel-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  max-width: 680px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PHASE SECTION HEADERS (scroll layout — kept for reference)
   ============================================================ */
.phase-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 3.5rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.phase-header:first-child {
  margin-top: 0;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.phase-material {
  background: rgba(251, 191, 36, 0.12);
  color: #d97706;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.phase-llm {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.phase-data {
  background: rgba(52, 211, 153, 0.1);
  color: #059669;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.phase-battery {
  background: rgba(251, 146, 60, 0.12);
  color: #ea580c;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.phase-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* Experience card bullet list */
.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.card-bullets li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}

.card-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ea580c;
  font-size: 0.7rem;
  top: 0.15rem;
}

/* ============================================================
   HERO JOURNEY FLOW
   ============================================================ */
.hero-journey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.5rem auto 1.75rem;
  max-width: 620px;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 120px;
}

.journey-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.journey-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.journey-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

.journey-arrow {
  font-size: 1.1rem;
  color: var(--accent-indigo);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   DOMAIN NOTE CALLOUT
   ============================================================ */
.domain-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-left: 3px solid var(--accent-indigo);
  border-radius: 8px;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.domain-note-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.domain-note strong {
  color: var(--accent-indigo);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.25rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-text h1,
  .hero-text .hero-title,
  .hero-text .hero-desc {
    text-align: center;
  }

  .hero-text .hero-cta {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .about-socials {
    justify-content: center;
  }

  .about-bio {
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 1.25rem;
  }

  .nav-brand {
    font-size: 0.95rem;
  }

  .nav-links {
    gap: 0.9rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }
}
