/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --bg: #ffffff;
  --accent: #000;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.name {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  display: block;
  transition: transform 0.3s ease;
}

.name:hover {
  transform: scale(1.02);
}

.tagline {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* About Section */
.about {
  max-width: 700px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.about-content {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.5;
  color: var(--text-primary);
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* Paths Section */
.paths {
  margin: 8rem 0;
}

.section-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.path-card {
  position: relative;
  padding: 3rem 2rem;
  border: 2px solid var(--text-primary);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--card-color, #f0f0f0);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.path-card:hover::before {
  width: 100%;
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color);
}

.path-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.path-card:hover .path-title {
  transform: translateX(8px);
}

.path-description {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.path-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.path-card:hover .path-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Featured Section */
.featured {
  margin: 8rem 0;
  padding: 4rem;
  border: 3px solid var(--accent, #000);
  position: relative;
}

.featured-label {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background: var(--bg);
  padding: 0 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.featured-content {
  border-left: 4px solid var(--accent);
  padding-left: 2rem;
}

.featured-type {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 1rem;
}

.featured-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.featured-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.featured-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: transform 0.2s ease;
}

.featured-link:hover {
  transform: translateX(8px);
}

/* Footer */
.footer {
  margin: 8rem 0 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.footer-content {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .hero {
    min-height: 60vh;
  }

  .about {
    margin: 4rem auto;
  }

  .paths {
    margin: 4rem 0;
  }

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

  .featured {
    padding: 2rem;
    margin: 4rem 0;
  }

  .featured-content {
    padding-left: 1rem;
  }
}

/* Dynamic color injection via inline style */
.path-card {
  --card-color: attr(data-color);
}