/* Journey Page Specific Styles */

/* Custom fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=JetBrains+Mono:wght@400;500&display=swap');

/* Journey-specific color variables */
:root {
  --accent2: #06b6d4;
  --accent3: #8b5cf6;
  --gold: #f59e0b;
  --green: #10b981;
}

/* Hero Section */
.hero {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(59, 130, 246, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
}

.hero-content {
  /* max-width: 960px; */
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-back {
  display: block;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.hero-back:hover {
  color: var(--primary);
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent2);
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.35s;
}

.hero-name span {
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.85;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.65s;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-value span {
  color: var(--primary);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Timeline */
.timeline-section {
  padding: 3rem 0;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary) 10%, var(--accent2) 50%, var(--accent3) 90%, transparent);
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -2rem;
  top: 0.38rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 0 18px rgba(59, 130, 246, 0.3);
  transform: translateX(-6px);
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-node {
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2), 0 0 30px rgba(59, 130, 246, 0.5);
  transform: translateX(-6px) scale(1.25);
}

.timeline-item[data-color="cyan"] .timeline-node {
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15), 0 0 18px rgba(6, 182, 212, 0.3);
}

.timeline-item[data-color="purple"] .timeline-node {
  background: var(--accent3);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 0 18px rgba(139, 92, 246, 0.3);
}

.timeline-item[data-color="gold"] .timeline-node {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15), 0 0 18px rgba(245, 158, 11, 0.3);
}

.timeline-item[data-color="green"] .timeline-node {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 0 18px rgba(16, 185, 129, 0.3);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.timeline-item[data-color="cyan"] .timeline-date {
  color: var(--accent2);
}

.timeline-item[data-color="purple"] .timeline-date {
  color: var(--accent3);
}

.timeline-item[data-color="gold"] .timeline-date {
  color: var(--gold);
}

.timeline-item[data-color="green"] .timeline-date {
  color: var(--green);
}

.timeline-badge {
  font-size: 0.66rem;
  font-weight: 500;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-lead {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-arch {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent3);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-ic {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent2);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-full {
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-react {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-current {
  animation: pulseBadge 2.5s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0);
  }
}

.timeline-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.timeline-company {
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Project Cards */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.project-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.65;
}

.card-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.metrics-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.metric-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}

.metric-icon {
  font-size: 0.95rem;
}

.metric-val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-key {
  color: var(--muted);
  font-size: 0.7rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.tech-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  transition: all 0.2s;
}

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

.highlight-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.highlight-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.91rem;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
  line-height: 1.65;
}

.highlight-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.72rem;
  top: 0.18rem;
}

.arch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.arch-pill {
  font-size: 0.76rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
}

.callout-box {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.65;
}

.callout-box strong {
  color: var(--text-primary);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

/* Skills Section */
.skills-section {
  padding: 5rem 3rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.25rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
  border: 1px solid rgba(255, 193, 7, 0.15);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFC107, #8B5CF6);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-card:hover {
  border-color: rgba(255, 193, 7, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.12);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card-icon {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.skill-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
}

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

.skill-tag {
  font-size: 0.68rem;
  padding: 0.14rem 0.48rem;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Narrative Section */
.narrative-section {
  padding-top: 3rem;
}

.narrative-block {
  /* max-width: 740px; */
  margin: 0 auto;
}

.narrative-block p {
  font-size: 1.03rem;
  line-height: 1.87;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.narrative-block p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.pull-quote {
  border-left: 2px solid var(--primary);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2.5rem 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.72;
  background: var(--bg-soft);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  /* max-width: 520px; */
  margin: 0 auto;
  text-align: center
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

footer {
  margin-top: 3rem;
}

ul > li {
  margin-left: 2px;
}

/* Responsive */
@media (max-width: 640px) {
  .hero-stats {
    gap: 1.5rem;
  }
  .hero-eyebrow {
    letter-spacing: 0.1rem;
  }
  .timeline {
    padding-left: 1rem;
  }
  .timeline-item {
    padding-left: 1.5rem;
  }
  .timeline-node {
    left: -1rem;
    transform: translateX(-6px);
  }
  .metrics-row {
    flex-direction: column;
  }
  .card-top {
    flex-direction: column;
  }
  .highlight-list li {
    padding-left: 0.75rem;
  }
  ul {
    padding-left: 2px;
  }
  
}
