
.home {
  flex: 1;
}

.home-hero {
  max-width: 40rem;
  margin: 0 auto;
  padding: 56px 20px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.home-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 96px);
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
}

.home-subtitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 40px);
  color: var(--orange-dark);
}

.home-lead {
  max-width: 32rem;
  margin: 12px 0 20px;
  font-size: 17px;
  color: var(--text-muted);
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 36px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-pop);
  transition: transform 0.1s, box-shadow 0.1s;
}

.home-cta:hover {
  background: var(--orange-dark);
}

.home-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--blue);
}

.home-steps h2,
.home-about h2,
.home-built-with h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 48px);
  font-weight: 400;
  text-align: center;
  color: var(--blue);
}

.home-steps {
  position: relative;
  background: var(--pink);
  padding: 56px 20px 64px;
}

.home-steps::before,
.home-steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background-repeat: repeat-x;
  background-size: 32px 16px;
}

.home-steps::before {
  top: -15px;
  background-image: radial-gradient(circle at 16px 16px, var(--pink) 15px, transparent 16px);
}

.home-steps::after {
  bottom: -15px;
  background-image: radial-gradient(circle at 16px 0, var(--pink) 15px, transparent 16px);
}

.steps {
  list-style: none;
  counter-reset: step;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 22px 24px;
  text-align: center;
  box-shadow: 6px 6px 0 var(--blue);
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  box-shadow: 3px 3px 0 var(--blue);
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--blue);
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* About Us Section */
.home-about {
  max-width: 58rem;
  margin: 0 auto;
  padding: 80px 20px 48px;
  text-align: center;
}

.home-about .about-text {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Team Grid (4 Members) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.team-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px 14px 20px;
  border: 2px solid var(--cream-dark);
  box-shadow: 4px 4px 0 var(--pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
}

.team-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue);
  border-color: var(--blue);
}

.team-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
}

.team-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 2px 2px 0 var(--pink);
}

.team-avatar-fallback {
  display: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 22px;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 var(--pink);
}

.team-github-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #24292f;
  color: #ffffff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 1px 0 var(--pink);
}

.team-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--blue);
  line-height: 1.2;
}

.team-github-handle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--cream-dark);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.team-card:hover .team-github-handle {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

/* Built With Section */
.home-built-with {
  max-width: 58rem;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.built-with-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}

@media (min-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tech-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 2px solid var(--cream-dark);
  box-shadow: 4px 4px 0 var(--pink);
  transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
}

.tech-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue);
  border-color: var(--blue);
}

.tech-card-paypal {
  background: #f2f6ff;
  border: 2px solid #cbdcff;
  box-shadow: 6px 6px 0 var(--blue);
  padding: 24px 22px;
}

.tech-card-paypal:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--blue);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tech-icon-paypal {
  background: #003087;
  color: #ffffff;
}

.tech-icon-gemini {
  background: #7928ca;
  color: #ffffff;
}

.tech-icon-fastapi {
  background: #009688;
  color: #ffffff;
}

.tech-icon-supabase {
  background: #24b47e;
  color: #ffffff;
}

.tech-icon-render {
  background: #1e2a78;
  color: #ffffff;
}

.tech-icon-htmx {
  background: #e2900c;
  color: #ffffff;
}

.tech-icon-postman {
  background: #ff6c37;
  color: #ffffff;
}

.tech-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--blue);
  line-height: 1.2;
}

.tech-subtitle {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.tech-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.paypal-features {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.paypal-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1.5px solid #bcd1fc;
  color: #003087;
  font-size: 13px;
  font-weight: 700;
}

.paypal-feature-tag i {
  font-size: 12px;
  color: var(--blue);
}

.home-coin {
  width: 96px;
  height: 96px;
}
